summaryrefslogtreecommitdiffstats
path: root/src/devices/machine/spg290_timer.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/machine/spg290_timer.cpp')
-rw-r--r--src/devices/machine/spg290_timer.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/devices/machine/spg290_timer.cpp b/src/devices/machine/spg290_timer.cpp
index e574f3fcf39..8b02f751696 100644
--- a/src/devices/machine/spg290_timer.cpp
+++ b/src/devices/machine/spg290_timer.cpp
@@ -22,7 +22,7 @@ spg290_timer_device::spg290_timer_device(const machine_config &mconfig, const ch
void spg290_timer_device::device_start()
{
m_irq_cb.resolve_safe();
- m_tick_timer = timer_alloc();
+ m_tick_timer = timer_alloc(FUNC(spg290_timer_device::timer_update), this);
save_item(NAME(m_enabled));
save_item(NAME(m_control));
@@ -56,7 +56,7 @@ void spg290_timer_device::device_clock_changed()
m_tick_timer->adjust(attotime::never);
}
-void spg290_timer_device::device_timer(emu_timer &timer, device_timer_id id, int param)
+TIMER_CALLBACK_MEMBER(spg290_timer_device::timer_update)
{
if (!BIT(m_control, 31))
return;