summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/airbustr.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/airbustr.cpp')
-rw-r--r--src/mame/drivers/airbustr.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mame/drivers/airbustr.cpp b/src/mame/drivers/airbustr.cpp
index 58e1720bdcf..598a131623d 100644
--- a/src/mame/drivers/airbustr.cpp
+++ b/src/mame/drivers/airbustr.cpp
@@ -606,10 +606,10 @@ MACHINE_CONFIG_START(airbustr_state::airbustr)
/* sound hardware */
SPEAKER(config, "mono").front_center();
- MCFG_GENERIC_LATCH_8_ADD("soundlatch1")
- MCFG_GENERIC_LATCH_DATA_PENDING_CB(INPUTLINE("audiocpu", INPUT_LINE_NMI))
+ GENERIC_LATCH_8(config, m_soundlatch[0]);
+ m_soundlatch[0]->data_pending_callback().set_inputline(m_audiocpu, INPUT_LINE_NMI);
- MCFG_GENERIC_LATCH_8_ADD("soundlatch2")
+ GENERIC_LATCH_8(config, m_soundlatch[1]);
ym2203_device &ymsnd(YM2203(config, "ymsnd", XTAL(12'000'000)/4)); /* verified on pcb */
ymsnd.port_a_read_callback().set_ioport("DSW1"); // DSW-1 connected to port A