summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/bus/cpc/amdrum.cpp
diff options
context:
space:
mode:
author AJR <ajrhacker@users.noreply.github.com>2020-06-07 18:36:33 -0400
committer AJR <ajrhacker@users.noreply.github.com>2020-06-07 18:36:33 -0400
commitcc3f16ec9509f90c04a22723488e28eb4a71937c (patch)
tree36e90b5859212f995e669ad100d8b76e95aa2a73 /src/devices/bus/cpc/amdrum.cpp
parentfc4092f42a8dfa84c6ce7eb4119852fab76018c7 (diff)
bus/cpc: Simplify handler signatures (nw)
Diffstat (limited to 'src/devices/bus/cpc/amdrum.cpp')
-rw-r--r--src/devices/bus/cpc/amdrum.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/devices/bus/cpc/amdrum.cpp b/src/devices/bus/cpc/amdrum.cpp
index a9c612b4870..3b3472876bf 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(*this, FUNC(cpc_amdrum_device::dac_w)));
+ space.install_write_handler(0xff00,0xffff, write8smo_delegate(*this, FUNC(cpc_amdrum_device::dac_w)));
}
//-------------------------------------------------
@@ -63,7 +63,7 @@ void cpc_amdrum_device::device_reset()
// TODO
}
-WRITE8_MEMBER(cpc_amdrum_device::dac_w)
+void cpc_amdrum_device::dac_w(uint8_t data)
{
m_dac->write(data);
}