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.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mame/drivers/mugsmash.cpp b/src/mame/drivers/mugsmash.cpp
index 43cb683d017..e2871564057 100644
--- a/src/mame/drivers/mugsmash.cpp
+++ b/src/mame/drivers/mugsmash.cpp
@@ -425,8 +425,8 @@ MACHINE_CONFIG_START(mugsmash_state::mugsmash)
SPEAKER(config, "lspeaker").front_left();
SPEAKER(config, "rspeaker").front_right();
- MCFG_GENERIC_LATCH_8_ADD("soundlatch")
- MCFG_GENERIC_LATCH_DATA_PENDING_CB(INPUTLINE("audiocpu", INPUT_LINE_NMI))
+ GENERIC_LATCH_8(config, m_soundlatch);
+ m_soundlatch->data_pending_callback().set_inputline(m_audiocpu, INPUT_LINE_NMI);
MCFG_DEVICE_ADD("ymsnd", YM2151, 3579545)
MCFG_YM2151_IRQ_HANDLER(INPUTLINE("audiocpu", 0))