summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/brkthru.cpp
diff options
context:
space:
mode:
author Ivan Vangelista <mesgnet@yahoo.it>2018-11-15 18:47:07 +0100
committer Ivan Vangelista <mesgnet@yahoo.it>2018-11-15 18:47:07 +0100
commit8f0b24640bb78f97ed322eb5216b3b4c847f1914 (patch)
treef6a99a26b02ff99c75c4582b96d453b8e9dd1bbc /src/mame/drivers/brkthru.cpp
parentfead82756e2c13a68ef254c6aa6c5891072435ac (diff)
gen_latch: removed MCFG macros (nw)
Diffstat (limited to 'src/mame/drivers/brkthru.cpp')
-rw-r--r--src/mame/drivers/brkthru.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/mame/drivers/brkthru.cpp b/src/mame/drivers/brkthru.cpp
index 40a31432ece..e917a67a313 100644
--- a/src/mame/drivers/brkthru.cpp
+++ b/src/mame/drivers/brkthru.cpp
@@ -399,8 +399,8 @@ MACHINE_CONFIG_START(brkthru_state::brkthru)
/* sound hardware */
SPEAKER(config, "mono").front_center();
- 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("ym1", YM2203, MASTER_CLOCK/8)
MCFG_SOUND_ROUTE(0, "mono", 0.10)
@@ -451,8 +451,8 @@ MACHINE_CONFIG_START(brkthru_state::darwin)
/* sound hardware */
SPEAKER(config, "mono").front_center();
- 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("ym1", YM2203, MASTER_CLOCK/8)
MCFG_SOUND_ROUTE(0, "mono", 0.10)