diff options
Diffstat (limited to 'src/mame/machine/macrtc.cpp')
-rw-r--r-- | src/mame/machine/macrtc.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mame/machine/macrtc.cpp b/src/mame/machine/macrtc.cpp index 0d31c3585fd..c286aaf438f 100644 --- a/src/mame/machine/macrtc.cpp +++ b/src/mame/machine/macrtc.cpp @@ -54,7 +54,7 @@ rtc3430042_device::rtc3430042_device(const machine_config &mconfig, const char * void rtc3430042_device::device_start() { // allocate timers - m_clock_timer = timer_alloc(); + m_clock_timer = timer_alloc(FUNC(rtc3430042_device::seconds_tick), this); m_clock_timer->adjust(attotime::from_hz(clock() / 32768), 0, attotime::from_hz(clock() / 32768)); // state saving @@ -76,10 +76,10 @@ void rtc3430042_device::device_reset() } //------------------------------------------------- -// device_timer - handler timer events +// seconds_tick - //------------------------------------------------- -void rtc3430042_device::device_timer(emu_timer &timer, device_timer_id id, int param) +TIMER_CALLBACK_MEMBER(rtc3430042_device::seconds_tick) { advance_seconds(); } |