summaryrefslogtreecommitdiffstats
path: root/src/devices/machine/z80ctc.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/machine/z80ctc.cpp')
-rw-r--r--src/devices/machine/z80ctc.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/devices/machine/z80ctc.cpp b/src/devices/machine/z80ctc.cpp
index 3dbd8b25ad1..6a6e728d548 100644
--- a/src/devices/machine/z80ctc.cpp
+++ b/src/devices/machine/z80ctc.cpp
@@ -308,8 +308,8 @@ z80ctc_channel_device::z80ctc_channel_device(const machine_config &mconfig, cons
void z80ctc_channel_device::device_start()
{
// initialize state
- m_timer = machine().scheduler().timer_alloc(timer_expired_delegate(FUNC(z80ctc_channel_device::timer_callback), this));
- m_zc_to_timer = machine().scheduler().timer_alloc(timer_expired_delegate(FUNC(z80ctc_channel_device::zc_to_callback), this));
+ m_timer = timer_alloc(FUNC(z80ctc_channel_device::timer_callback), this);
+ m_zc_to_timer = timer_alloc(FUNC(z80ctc_channel_device::zc_to_callback), this);
// register for save states
save_item(NAME(m_mode));