summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/bus/a2bus/transwarp.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/bus/a2bus/transwarp.cpp')
-rw-r--r--src/devices/bus/a2bus/transwarp.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/devices/bus/a2bus/transwarp.cpp b/src/devices/bus/a2bus/transwarp.cpp
index 3c2c976c229..a87f724a704 100644
--- a/src/devices/bus/a2bus/transwarp.cpp
+++ b/src/devices/bus/a2bus/transwarp.cpp
@@ -158,7 +158,7 @@ a2bus_transwarp_device::a2bus_transwarp_device(const machine_config &mconfig, co
void a2bus_transwarp_device::device_start()
{
- m_timer = timer_alloc(0);
+ m_timer = timer_alloc(FUNC(a2bus_transwarp_device::clock_adjust_tick), this);
save_item(NAME(m_bEnabled));
save_item(NAME(m_bReadA2ROM));
@@ -187,7 +187,7 @@ void a2bus_transwarp_device::device_reset()
}
}
-void a2bus_transwarp_device::device_timer(emu_timer &timer, device_timer_id id, int param, void *ptr)
+TIMER_CALLBACK_MEMBER(a2bus_transwarp_device::clock_adjust_tick)
{
if (m_bIn1MHzMode)
{