summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/warriorb.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/warriorb.cpp')
-rw-r--r--src/mame/drivers/warriorb.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/mame/drivers/warriorb.cpp b/src/mame/drivers/warriorb.cpp
index f2bd0bdbe3a..2e1f9a6a816 100644
--- a/src/mame/drivers/warriorb.cpp
+++ b/src/mame/drivers/warriorb.cpp
@@ -513,9 +513,9 @@ MACHINE_CONFIG_START(warriorb_state::darius2d)
FILTER_VOLUME(config, "2610.2.l").add_route(ALL_OUTPUTS, "lspeaker", 1.0);
FILTER_VOLUME(config, "2610.2.r").add_route(ALL_OUTPUTS, "rspeaker", 1.0);
- MCFG_DEVICE_ADD("tc0140syt", TC0140SYT, 0)
- MCFG_TC0140SYT_MASTER_CPU("maincpu")
- MCFG_TC0140SYT_SLAVE_CPU("audiocpu")
+ TC0140SYT(config, m_tc0140syt, 0);
+ m_tc0140syt->set_master_tag(m_maincpu);
+ m_tc0140syt->set_slave_tag("audiocpu");
MACHINE_CONFIG_END
@@ -598,9 +598,9 @@ MACHINE_CONFIG_START(warriorb_state::warriorb)
FILTER_VOLUME(config, "2610.2.l").add_route(ALL_OUTPUTS, "lspeaker", 1.0);
FILTER_VOLUME(config, "2610.2.r").add_route(ALL_OUTPUTS, "rspeaker", 1.0);
- MCFG_DEVICE_ADD("tc0140syt", TC0140SYT, 0)
- MCFG_TC0140SYT_MASTER_CPU("maincpu")
- MCFG_TC0140SYT_SLAVE_CPU("audiocpu")
+ TC0140SYT(config, m_tc0140syt, 0);
+ m_tc0140syt->set_master_tag(m_maincpu);
+ m_tc0140syt->set_slave_tag("audiocpu");
MACHINE_CONFIG_END