summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/bus/c64/super_explode.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/bus/c64/super_explode.cpp')
-rw-r--r--src/devices/bus/c64/super_explode.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/devices/bus/c64/super_explode.cpp b/src/devices/bus/c64/super_explode.cpp
index 4ed2456bd2a..b01e2e25fba 100644
--- a/src/devices/bus/c64/super_explode.cpp
+++ b/src/devices/bus/c64/super_explode.cpp
@@ -51,7 +51,7 @@ c64_super_explode_cartridge_device::c64_super_explode_cartridge_device(const mac
void c64_super_explode_cartridge_device::device_start()
{
// allocate timer
- m_exrom_timer = timer_alloc();
+ m_exrom_timer = timer_alloc(FUNC(c64_super_explode_cartridge_device::update_exrom), this);
// state saving
save_item(NAME(m_bank));
@@ -72,10 +72,10 @@ void c64_super_explode_cartridge_device::device_reset()
//-------------------------------------------------
-// device_timer - handler timer events
+// update_exram - update exrom flag for banking
//-------------------------------------------------
-void c64_super_explode_cartridge_device::device_timer(emu_timer &timer, device_timer_id id, int param, void *ptr)
+TIMER_CALLBACK_MEMBER(c64_super_explode_cartridge_device::update_exrom)
{
m_exrom = 1;
}