summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/yunsung8.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/yunsung8.cpp')
-rw-r--r--src/mame/drivers/yunsung8.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/mame/drivers/yunsung8.cpp b/src/mame/drivers/yunsung8.cpp
index 3e8b6b14391..a3f5b764f5c 100644
--- a/src/mame/drivers/yunsung8.cpp
+++ b/src/mame/drivers/yunsung8.cpp
@@ -366,8 +366,7 @@ MACHINE_CONFIG_START(yunsung8_state::yunsung8)
SPEAKER(config, "lspeaker").front_left();
SPEAKER(config, "rspeaker").front_right();
- MCFG_GENERIC_LATCH_8_ADD("soundlatch")
- MCFG_GENERIC_LATCH_DATA_PENDING_CB(INPUTLINE("audiocpu", 0))
+ GENERIC_LATCH_8(config, "soundlatch").data_pending_callback().set_inputline(m_audiocpu, 0);
MCFG_DEVICE_ADD("ymsnd", YM3812, XTAL(16'000'000)/4)
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "lspeaker", 1.0)