summaryrefslogtreecommitdiffstats
path: root/src/mame/drivers/pcfx.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/pcfx.cpp')
-rw-r--r--src/mame/drivers/pcfx.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mame/drivers/pcfx.cpp b/src/mame/drivers/pcfx.cpp
index 6d0caeb387f..eb829b1dbaf 100644
--- a/src/mame/drivers/pcfx.cpp
+++ b/src/mame/drivers/pcfx.cpp
@@ -35,7 +35,7 @@ public:
protected:
virtual void machine_start() override;
virtual void machine_reset() override;
- 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;
private:
enum
@@ -141,12 +141,12 @@ uint16_t pcfx_state::pad_r(offs_t offset)
return res;
}
-void pcfx_state::device_timer(emu_timer &timer, device_timer_id id, int param, void *ptr)
+void pcfx_state::device_timer(emu_timer &timer, device_timer_id id, int param)
{
switch (id)
{
case TIMER_PAD_FUNC:
- pad_func(ptr, param);
+ pad_func(param);
break;
default:
throw emu_fatalerror("Unknown id in pcfx_state::device_timer");