summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/bus/c64/vw64.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/bus/c64/vw64.cpp')
-rw-r--r--src/devices/bus/c64/vw64.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/devices/bus/c64/vw64.cpp b/src/devices/bus/c64/vw64.cpp
index bf4d584d40d..81a56e478b8 100644
--- a/src/devices/bus/c64/vw64.cpp
+++ b/src/devices/bus/c64/vw64.cpp
@@ -81,7 +81,7 @@ c64_vizawrite_cartridge_device::c64_vizawrite_cartridge_device(const machine_con
void c64_vizawrite_cartridge_device::device_start()
{
// allocate timer
- m_game_timer = timer_alloc();
+ m_game_timer = timer_alloc(FUNC(c64_vizawrite_cartridge_device::update_game), this);
}
@@ -98,10 +98,11 @@ void c64_vizawrite_cartridge_device::device_reset()
//-------------------------------------------------
-// device_timer - handler timer events
+// update_game - update mapping flags for game
+// data
//-------------------------------------------------
-void c64_vizawrite_cartridge_device::device_timer(emu_timer &timer, device_timer_id id, int param, void *ptr)
+TIMER_CALLBACK_MEMBER(c64_vizawrite_cartridge_device::update_game)
{
m_game = 1;
}