summaryrefslogtreecommitdiffstats
path: root/src/devices/machine/rtc4543.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/machine/rtc4543.cpp')
-rw-r--r--src/devices/machine/rtc4543.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/devices/machine/rtc4543.cpp b/src/devices/machine/rtc4543.cpp
index 32ae1a7a3dd..773724a4170 100644
--- a/src/devices/machine/rtc4543.cpp
+++ b/src/devices/machine/rtc4543.cpp
@@ -73,7 +73,7 @@ void rtc4543_device::device_start()
m_data_cb.resolve_safe();
// allocate timers
- m_clock_timer = timer_alloc();
+ m_clock_timer = timer_alloc(FUNC(rtc4543_device::advance_clock), this);
m_clock_timer->adjust(attotime::from_hz(clock() / 32768), 0, attotime::from_hz(clock() / 32768));
// state saving
@@ -101,10 +101,10 @@ void rtc4543_device::device_reset()
//-------------------------------------------------
-// device_timer - handler timer events
+// advance_clock -
//-------------------------------------------------
-void rtc4543_device::device_timer(emu_timer &timer, device_timer_id id, int param)
+TIMER_CALLBACK_MEMBER(rtc4543_device::advance_clock)
{
advance_seconds();
}