summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/bus/hp_dio/hp98544.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/bus/hp_dio/hp98544.cpp')
-rw-r--r--src/devices/bus/hp_dio/hp98544.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/devices/bus/hp_dio/hp98544.cpp b/src/devices/bus/hp_dio/hp98544.cpp
index 9565d4632d2..83cd9f25fe7 100644
--- a/src/devices/bus/hp_dio/hp98544.cpp
+++ b/src/devices/bus/hp_dio/hp98544.cpp
@@ -101,16 +101,16 @@ void dio16_98544_device::device_start()
save_item(NAME(m_intreg));
dio().install_memory(
0x200000, 0x2fffff,
- read16_delegate(FUNC(topcat_device::vram_r), static_cast<topcat_device*>(m_topcat)),
- write16_delegate(FUNC(topcat_device::vram_w), static_cast<topcat_device*>(m_topcat)));
+ read16_delegate(*m_topcat, FUNC(topcat_device::vram_r)),
+ write16_delegate(*m_topcat, FUNC(topcat_device::vram_w)));
dio().install_memory(
0x560000, 0x563fff,
- read16_delegate(FUNC(dio16_98544_device::rom_r), this),
- write16_delegate(FUNC(dio16_98544_device::rom_w), this));
+ read16_delegate(*this, FUNC(dio16_98544_device::rom_r)),
+ write16_delegate(*this, FUNC(dio16_98544_device::rom_w)));
dio().install_memory(
0x564000, 0x567fff,
- read16_delegate(FUNC(topcat_device::ctrl_r), static_cast<topcat_device*>(m_topcat)),
- write16_delegate(FUNC(topcat_device::ctrl_w), static_cast<topcat_device*>(m_topcat)));
+ read16_delegate(*m_topcat, FUNC(topcat_device::ctrl_r)),
+ write16_delegate(*m_topcat, FUNC(topcat_device::ctrl_w)));
}
//-------------------------------------------------