summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/darkseal.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/darkseal.cpp')
-rw-r--r--src/mame/drivers/darkseal.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mame/drivers/darkseal.cpp b/src/mame/drivers/darkseal.cpp
index 5a13e860963..636785a7103 100644
--- a/src/mame/drivers/darkseal.cpp
+++ b/src/mame/drivers/darkseal.cpp
@@ -263,8 +263,8 @@ MACHINE_CONFIG_START(darkseal_state::darkseal)
/* sound hardware */
SPEAKER(config, "mono").front_center();
- MCFG_GENERIC_LATCH_8_ADD(m_soundlatch)
- MCFG_GENERIC_LATCH_DATA_PENDING_CB(INPUTLINE(m_audiocpu, 0))
+ GENERIC_LATCH_8(config, m_soundlatch);
+ m_soundlatch->data_pending_callback().set_inputline(m_audiocpu, 0);
MCFG_DEVICE_ADD("ym1", YM2203, XTAL(32'220'000)/8)
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.45)