summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/vball.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/vball.cpp')
-rw-r--r--src/mame/drivers/vball.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mame/drivers/vball.cpp b/src/mame/drivers/vball.cpp
index d8091935d56..db9d72e77bc 100644
--- a/src/mame/drivers/vball.cpp
+++ b/src/mame/drivers/vball.cpp
@@ -422,8 +422,8 @@ MACHINE_CONFIG_START(vball_state::vball)
SPEAKER(config, "rspeaker").front_right();
// The sound system comes all but verbatim from Double Dragon
- 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, 3579545)
MCFG_YM2151_IRQ_HANDLER(INPUTLINE("audiocpu", 0))