summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
author AJR <ajrhacker@users.noreply.github.com>2017-08-29 12:43:43 -0400
committer AJR <ajrhacker@users.noreply.github.com>2017-08-29 12:43:43 -0400
commit757efd6a6ff95a75ce22d7ecd7fa5de0be2d08ec (patch)
tree6b1007c78975504487beab5df429b1cb932c39e3
parent7136921a0f928e2676a2e0e30e0d7b1d2914864c (diff)
mugsmash: Use MCFG_GENERIC_LATCH_DATA_PENDING_CB (nw)
-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))