diff options
Diffstat (limited to 'src/mame/drivers/wwfsstar.cpp')
-rw-r--r-- | src/mame/drivers/wwfsstar.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mame/drivers/wwfsstar.cpp b/src/mame/drivers/wwfsstar.cpp index ca9c1e0e56f..ce855a64b49 100644 --- a/src/mame/drivers/wwfsstar.cpp +++ b/src/mame/drivers/wwfsstar.cpp @@ -437,8 +437,8 @@ MACHINE_CONFIG_START(wwfsstar_state::wwfsstar) 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, XTAL(3'579'545)) MCFG_YM2151_IRQ_HANDLER(INPUTLINE("audiocpu", 0)) |