summaryrefslogtreecommitdiffstats
path: root/src/devices/machine/kb3600.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/machine/kb3600.cpp')
-rw-r--r--src/devices/machine/kb3600.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/devices/machine/kb3600.cpp b/src/devices/machine/kb3600.cpp
index c0e450f601a..9be5846e0c8 100644
--- a/src/devices/machine/kb3600.cpp
+++ b/src/devices/machine/kb3600.cpp
@@ -82,7 +82,7 @@ void ay3600_device::device_start()
m_write_ako.resolve_safe();
// allocate timers
- m_scan_timer = timer_alloc();
+ m_scan_timer = timer_alloc(FUNC(ay3600_device::perform_scan), this);
m_scan_timer->adjust(attotime::from_hz(60), 0, attotime::from_hz(60));
m_ako = 0;
@@ -103,10 +103,10 @@ void ay3600_device::device_reset()
}
//-------------------------------------------------
-// device_timer - handler timer events
+// perform_scan - scan the keyboard matrix
//-------------------------------------------------
-void ay3600_device::device_timer(emu_timer &timer, device_timer_id id, int param)
+TIMER_CALLBACK_MEMBER(ay3600_device::perform_scan)
{
int ako = 0;