summaryrefslogtreecommitdiffstats
path: root/src/devices/machine/ioptimer.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/machine/ioptimer.cpp')
-rw-r--r--src/devices/machine/ioptimer.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/devices/machine/ioptimer.cpp b/src/devices/machine/ioptimer.cpp
index 487c795ef26..54864a00901 100644
--- a/src/devices/machine/ioptimer.cpp
+++ b/src/devices/machine/ioptimer.cpp
@@ -39,10 +39,10 @@ void iop_timer_device::device_start()
m_int_cb.resolve_safe();
if (!m_compare_timer)
- m_compare_timer = machine().scheduler().timer_alloc(timer_expired_delegate(FUNC(iop_timer_device::compare), this));
+ m_compare_timer = timer_alloc(FUNC(iop_timer_device::compare), this);
if (!m_overflow_timer)
- m_overflow_timer = machine().scheduler().timer_alloc(timer_expired_delegate(FUNC(iop_timer_device::overflow), this));
+ m_overflow_timer = timer_alloc(FUNC(iop_timer_device::overflow), this);
}
void iop_timer_device::device_reset()