summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/machine/68340.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/machine/68340.cpp')
-rw-r--r--src/devices/machine/68340.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/devices/machine/68340.cpp b/src/devices/machine/68340.cpp
index b11fda39130..e3dbfd81e5d 100644
--- a/src/devices/machine/68340.cpp
+++ b/src/devices/machine/68340.cpp
@@ -92,8 +92,8 @@ WRITE32_MEMBER( m68340_cpu_device::m68340_internal_base_w )
READ16_DEVICE_DELEGATE(m_timer2, mc68340_timer_module_device, read),
WRITE16_DEVICE_DELEGATE(m_timer2, mc68340_timer_module_device, write),0xffffffff);
m_internal->install_readwrite_handler(base + 0x700, base + 0x723,
- READ8_DEVICE_DELEGATE(m_serial, mc68340_serial_module_device, read),
- WRITE8_DEVICE_DELEGATE(m_serial, mc68340_serial_module_device, write),0xffffffff);
+ read8sm_delegate(FUNC(mc68340_serial_module_device::read), &*m_serial),
+ write8sm_delegate(FUNC(mc68340_serial_module_device::write), &*m_serial),0xffffffff);
m_internal->install_readwrite_handler(base + 0x780, base + 0x7bf,
read32_delegate(FUNC(m68340_cpu_device::m68340_internal_dma_r),this),
write32_delegate(FUNC(m68340_cpu_device::m68340_internal_dma_w),this));