summaryrefslogtreecommitdiffstats
path: root/src/devices/machine/ps2timer.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/machine/ps2timer.cpp')
-rw-r--r--src/devices/machine/ps2timer.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/devices/machine/ps2timer.cpp b/src/devices/machine/ps2timer.cpp
index 2f7111b1a22..667fed7622c 100644
--- a/src/devices/machine/ps2timer.cpp
+++ b/src/devices/machine/ps2timer.cpp
@@ -42,10 +42,10 @@ ps2_timer_device::ps2_timer_device(const machine_config &mconfig, const char *ta
void ps2_timer_device::device_start()
{
if (!m_compare_timer)
- m_compare_timer = machine().scheduler().timer_alloc(timer_expired_delegate(FUNC(ps2_timer_device::compare), this));
+ m_compare_timer = timer_alloc(FUNC(ps2_timer_device::compare), this);
if (!m_overflow_timer)
- m_overflow_timer = machine().scheduler().timer_alloc(timer_expired_delegate(FUNC(ps2_timer_device::overflow), this));
+ m_overflow_timer = timer_alloc(FUNC(ps2_timer_device::overflow), this);
}
void ps2_timer_device::device_reset()