diff options
Diffstat (limited to 'src/mame/drivers/tecmo.cpp')
-rw-r--r-- | src/mame/drivers/tecmo.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mame/drivers/tecmo.cpp b/src/mame/drivers/tecmo.cpp index c8e87f7b8b0..c5dfa0a140f 100644 --- a/src/mame/drivers/tecmo.cpp +++ b/src/mame/drivers/tecmo.cpp @@ -728,9 +728,9 @@ MACHINE_CONFIG_START(tecmo_state::rygar) /* sound hardware */ SPEAKER(config, "mono").front_center(); - MCFG_GENERIC_LATCH_8_ADD("soundlatch") - MCFG_GENERIC_LATCH_DATA_PENDING_CB(INPUTLINE("soundcpu", INPUT_LINE_NMI)) - MCFG_GENERIC_LATCH_SEPARATE_ACKNOWLEDGE(true) + generic_latch_8_device &soundlatch(GENERIC_LATCH_8(config, "soundlatch")); + soundlatch.data_pending_callback().set_inputline(m_soundcpu, INPUT_LINE_NMI); + soundlatch.set_separate_acknowledge(true); MCFG_DEVICE_ADD("ymsnd", YM3526, XTAL(4'000'000)) /* verified on pcb */ MCFG_YM3526_IRQ_HANDLER(INPUTLINE("soundcpu", 0)) |