From 07aea3b97a00f9bc84e2213bb118e2bb20eb409a Mon Sep 17 00:00:00 2001 From: hap Date: Sat, 9 Dec 2023 13:38:07 +0100 Subject: wildfire: rename TIMER_CALLBACK_MEMBER --- src/mame/handheld/wildfire.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/mame/handheld/wildfire.cpp b/src/mame/handheld/wildfire.cpp index 6883ed545de..8ca0b985752 100644 --- a/src/mame/handheld/wildfire.cpp +++ b/src/mame/handheld/wildfire.cpp @@ -78,7 +78,7 @@ private: void write_d(u8 data); void write_a(u16 data); - TIMER_CALLBACK_MEMBER(speaker_decay_sim); + void speaker_decay_sim(s32 param); }; void wildfire_state::machine_start() @@ -95,7 +95,7 @@ void wildfire_state::machine_start() I/O *******************************************************************************/ -TIMER_CALLBACK_MEMBER(wildfire_state::speaker_decay_sim) +void wildfire_state::speaker_decay_sim(s32 param) { // volume decays when speaker is off (divisor and timer period determine duration) m_volume->set_gain(m_volume->gain() / 1.0025); -- cgit v1.2.3