summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/tecmo16.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/tecmo16.cpp')
-rw-r--r--src/mame/drivers/tecmo16.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/mame/drivers/tecmo16.cpp b/src/mame/drivers/tecmo16.cpp
index 7ab3910dd28..6e178f12414 100644
--- a/src/mame/drivers/tecmo16.cpp
+++ b/src/mame/drivers/tecmo16.cpp
@@ -396,8 +396,7 @@ MACHINE_CONFIG_START(tecmo16_state::fstarfrc)
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, "soundlatch").data_pending_callback().set_inputline(m_audiocpu, INPUT_LINE_NMI);
MCFG_DEVICE_ADD("ymsnd", YM2151, MASTER_CLOCK/6) // 4 MHz
MCFG_YM2151_IRQ_HANDLER(INPUTLINE("audiocpu", 0))