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 c16ca1b5ca7..4c4c43fedc2 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 = m_machine.scheduler().timer_alloc(FUNC(ds2404_tick_callback), (void *)this);
+ emu_timer *timer = machine().scheduler().timer_alloc(FUNC(ds2404_tick_callback), (void *)this);
timer->adjust(attotime::from_hz(256), 0, attotime::from_hz(256));
}