summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/bus/adamnet/adamnet.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/bus/adamnet/adamnet.cpp')
-rw-r--r--src/devices/bus/adamnet/adamnet.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/devices/bus/adamnet/adamnet.cpp b/src/devices/bus/adamnet/adamnet.cpp
index b7223aeb6a2..487ce1b22d9 100644
--- a/src/devices/bus/adamnet/adamnet.cpp
+++ b/src/devices/bus/adamnet/adamnet.cpp
@@ -28,7 +28,7 @@ const device_type ADAMNET_SLOT = &device_creator<adamnet_slot_device>;
//-------------------------------------------------
device_adamnet_card_interface::device_adamnet_card_interface(const machine_config &mconfig, device_t &device)
- : device_slot_card_interface(mconfig, device),
+ : device_slot_card_interface(mconfig, device),
m_bus(nullptr)
{
}
@@ -112,7 +112,7 @@ void adamnet_device::device_stop()
void adamnet_device::add_device(device_t *target)
{
- daisy_entry *entry = global_alloc(daisy_entry(target));
+ auto entry = global_alloc(daisy_entry(target));
entry->m_interface->m_bus = this;
@@ -125,9 +125,9 @@ void adamnet_device::add_device(device_t *target)
//-------------------------------------------------
adamnet_device::daisy_entry::daisy_entry(device_t *device)
- : m_next(NULL),
+ : m_next(nullptr),
m_device(device),
- m_interface(NULL),
+ m_interface(nullptr),
m_txd(1)
{
device->interface(m_interface);