summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/machine/ds2404.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/emu/machine/ds2404.c')
-rw-r--r--src/emu/machine/ds2404.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/emu/machine/ds2404.c b/src/emu/machine/ds2404.c
index eb8e4692f63..44de33b16a5 100644
--- a/src/emu/machine/ds2404.c
+++ b/src/emu/machine/ds2404.c
@@ -129,7 +129,7 @@ void ds2404_device::device_start()
m_rtc[3] = (current_time >> 16) & 0xff;
m_rtc[4] = (current_time >> 24) & 0xff;
- emu_timer *timer = timer_alloc(&m_machine, ds2404_tick_callback, (void *)this);
+ emu_timer *timer = m_machine.scheduler().timer_alloc(FUNC(ds2404_tick_callback), (void *)this);
timer_adjust_periodic(timer, attotime::from_hz(256), 0, attotime::from_hz(256));
}