summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/bus/cpc/amdrum.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/bus/cpc/amdrum.cpp')
-rw-r--r--src/devices/bus/cpc/amdrum.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/devices/bus/cpc/amdrum.cpp b/src/devices/bus/cpc/amdrum.cpp
index 587577edf52..a9c612b4870 100644
--- a/src/devices/bus/cpc/amdrum.cpp
+++ b/src/devices/bus/cpc/amdrum.cpp
@@ -51,7 +51,7 @@ void cpc_amdrum_device::device_start()
{
m_slot = dynamic_cast<cpc_expansion_slot_device *>(owner());
address_space &space = m_slot->cpu().space(AS_IO);
- space.install_write_handler(0xff00,0xffff,write8_delegate(FUNC(cpc_amdrum_device::dac_w),this));
+ space.install_write_handler(0xff00,0xffff, write8_delegate(*this, FUNC(cpc_amdrum_device::dac_w)));
}
//-------------------------------------------------