mirror of
https://github.com/holub/mame
synced 2025-04-22 16:31:49 +03:00
wildfire: rename TIMER_CALLBACK_MEMBER
This commit is contained in:
parent
3b2337cd9c
commit
07aea3b97a
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user