diff options
Diffstat (limited to 'src/devices/bus/cpc/doubler.cpp')
-rw-r--r-- | src/devices/bus/cpc/doubler.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/devices/bus/cpc/doubler.cpp b/src/devices/bus/cpc/doubler.cpp index e9ed2e5b5f4..68c7a51899e 100644 --- a/src/devices/bus/cpc/doubler.cpp +++ b/src/devices/bus/cpc/doubler.cpp @@ -9,6 +9,8 @@ #include "emu.h" #include "doubler.h" +#include "formats/tzx_cas.h" + //************************************************************************** // DEVICE DEFINITIONS //************************************************************************** @@ -46,7 +48,7 @@ void cpc_doubler_device::device_start() { m_slot = dynamic_cast<cpc_expansion_slot_device *>(owner()); address_space &space = m_slot->cpu().space(AS_IO); - space.install_read_handler(0xf0e0,0xf0e0,read8_delegate(FUNC(cpc_doubler_device::ext_tape_r),this)); + space.install_read_handler(0xf0e0,0xf0e0, read8smo_delegate(*this, FUNC(cpc_doubler_device::ext_tape_r))); } //------------------------------------------------- @@ -58,7 +60,7 @@ void cpc_doubler_device::device_reset() // TODO } -READ8_MEMBER(cpc_doubler_device::ext_tape_r) +uint8_t cpc_doubler_device::ext_tape_r() { uint8_t data = 0; if(m_tape->input() > 0.03) |