summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/audio/cinemat.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/audio/cinemat.cpp')
-rw-r--r--src/mame/audio/cinemat.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/mame/audio/cinemat.cpp b/src/mame/audio/cinemat.cpp
index 171de55408f..18c49e95f85 100644
--- a/src/mame/audio/cinemat.cpp
+++ b/src/mame/audio/cinemat.cpp
@@ -1354,7 +1354,7 @@ WRITE8_MEMBER(cinemat_state::sound_output_w)
logerror("sound_output = %02X\n", data);
}
-SOUND_RESET_MEMBER( cinemat_state, demon )
+void cinemat_state::sound_reset_demon()
{
/* generic init */
sound_reset();
@@ -1408,7 +1408,7 @@ MACHINE_CONFIG_START(cinemat_state::demon_sound)
MCFG_DEVICE_ADD("ctc", Z80CTC, 3579545 /* same as "audiocpu" */)
MCFG_Z80CTC_INTR_CB(INPUTLINE("audiocpu", INPUT_LINE_IRQ0))
- MCFG_SOUND_RESET_OVERRIDE(cinemat_state, demon)
+ set_sound_reset_cb(config, driver_callback_delegate(&sound_reset_demon, this));
MCFG_DEVICE_MODIFY("outlatch")
MCFG_ADDRESSABLE_LATCH_Q4_OUT_CB(WRITELINE(*this, cinemat_state, demon_sound4_w))
@@ -1447,9 +1447,9 @@ WRITE8_MEMBER(cinemat_state::qb3_sound_fifo_w)
}
-SOUND_RESET_MEMBER( cinemat_state, qb3 )
+void cinemat_state::sound_reset_qb3()
{
- SOUND_RESET_CALL_MEMBER(demon);
+ sound_reset_demon();
/* this patch prevents the sound ROM from eating itself when command $0A is sent */
/* on a cube rotate */
@@ -1459,7 +1459,7 @@ SOUND_RESET_MEMBER( cinemat_state, qb3 )
MACHINE_CONFIG_START(cinemat_state::qb3_sound)
demon_sound(config);
- MCFG_SOUND_RESET_OVERRIDE(cinemat_state, qb3)
+ set_sound_reset_cb(config, driver_callback_delegate(&sound_reset_qb3, this));
MCFG_DEVICE_MODIFY("outlatch")
MCFG_ADDRESSABLE_LATCH_Q4_OUT_CB(NOOP) // not mapped through LS259