summaryrefslogtreecommitdiffstats
path: root/src/mame/drivers/x1.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/x1.cpp')
-rw-r--r--src/mame/drivers/x1.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mame/drivers/x1.cpp b/src/mame/drivers/x1.cpp
index 1852a94dd30..a454d4b3124 100644
--- a/src/mame/drivers/x1.cpp
+++ b/src/mame/drivers/x1.cpp
@@ -2133,7 +2133,7 @@ void x1_state::machine_start()
m_rtc.min = ((systime.local_time.minute / 10)<<4) | ((systime.local_time.minute % 10) & 0xf);
m_rtc.sec = ((systime.local_time.second / 10)<<4) | ((systime.local_time.second % 10) & 0xf);
- m_rtc_timer = machine().scheduler().timer_alloc(timer_expired_delegate(FUNC(x1_state::x1_rtc_increment),this));
+ m_rtc_timer = timer_alloc(FUNC(x1_state::x1_rtc_increment), this);
}
m_work_ram = make_unique_clear<uint8_t[]>(0x10000*0x10);