summaryrefslogtreecommitdiffstats
path: root/src/mame/drivers/cball.cpp
diff options
context:
space:
mode:
author AJR <ajrhacker@users.noreply.github.com>2022-01-26 08:47:06 -0500
committer AJR <ajrhacker@users.noreply.github.com>2022-01-26 08:56:03 -0500
commitca79d71af4bca7c1b8acc1df9e5dbb5b987d1542 (patch)
tree42994b1dd615273baa3e656b569ccd478270aff3 /src/mame/drivers/cball.cpp
parentba918b59faad5244d87078ab3b955f64fd803c4d (diff)
Remove void *ptr parameter from emu_timer, timer_device and all related callbacks
Diffstat (limited to 'src/mame/drivers/cball.cpp')
-rw-r--r--src/mame/drivers/cball.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mame/drivers/cball.cpp b/src/mame/drivers/cball.cpp
index f7db130071b..a2758942c34 100644
--- a/src/mame/drivers/cball.cpp
+++ b/src/mame/drivers/cball.cpp
@@ -61,7 +61,7 @@ public:
void cball(machine_config &config);
void cpu_map(address_map &map);
protected:
- virtual void device_timer(emu_timer &timer, device_timer_id id, int param, void *ptr) override;
+ virtual void device_timer(emu_timer &timer, device_timer_id id, int param) override;
};
@@ -102,12 +102,12 @@ uint32_t cball_state::screen_update(screen_device &screen, bitmap_ind16 &bitmap,
}
-void cball_state::device_timer(emu_timer &timer, device_timer_id id, int param, void *ptr)
+void cball_state::device_timer(emu_timer &timer, device_timer_id id, int param)
{
switch (id)
{
case TIMER_INTERRUPT:
- interrupt_callback(ptr, param);
+ interrupt_callback(param);
break;
default:
throw emu_fatalerror("Unknown id in cball_state::device_timer");