summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/mugsmash.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/mugsmash.cpp')
-rw-r--r--src/mame/drivers/mugsmash.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mame/drivers/mugsmash.cpp b/src/mame/drivers/mugsmash.cpp
index 9a9cb0d0aba..4e0ce05237f 100644
--- a/src/mame/drivers/mugsmash.cpp
+++ b/src/mame/drivers/mugsmash.cpp
@@ -61,7 +61,6 @@ WRITE16_MEMBER(mugsmash_state::mugsmash_reg2_w)
{
case 1:
m_soundlatch->write(space, 1, data & 0xff);
- m_audiocpu->set_input_line(INPUT_LINE_NMI, PULSE_LINE );
break;
default:
@@ -424,6 +423,7 @@ static MACHINE_CONFIG_START( mugsmash )
MCFG_SPEAKER_STANDARD_STEREO("lspeaker", "rspeaker")
MCFG_GENERIC_LATCH_8_ADD("soundlatch")
+ MCFG_GENERIC_LATCH_DATA_PENDING_CB(INPUTLINE("audiocpu", INPUT_LINE_NMI))
MCFG_YM2151_ADD("ymsnd", 3579545)
MCFG_YM2151_IRQ_HANDLER(INPUTLINE("audiocpu", 0))