summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/equites.cpp
diff options
context:
space:
mode:
author Vas Crabb <vas@vastheman.com>2018-02-14 22:40:47 +1100
committer Vas Crabb <vas@vastheman.com>2018-02-14 23:46:17 +1100
commitf4df51e5223578e206574234c0b8d1af300c3324 (patch)
treefd5c680c45baee30304a31723132444fe7359dfb /src/mame/drivers/equites.cpp
parent1bd974c2b4f1f8815065efd4f5fcc0443ae15d28 (diff)
(nw) screw you macros and the horse you rode in on
There's no voodoo involved in derived machine configurations and fragments any more. The macros were just obfuscating things at this point.
Diffstat (limited to 'src/mame/drivers/equites.cpp')
-rw-r--r--src/mame/drivers/equites.cpp10
1 files changed, 6 insertions, 4 deletions
diff --git a/src/mame/drivers/equites.cpp b/src/mame/drivers/equites.cpp
index fe01ce433af..3f4e606b93d 100644
--- a/src/mame/drivers/equites.cpp
+++ b/src/mame/drivers/equites.cpp
@@ -1138,7 +1138,7 @@ MACHINE_CONFIG_START(equites_state::equites)
MCFG_ADDRESSABLE_LATCH_Q2_OUT_CB(WRITELINE(equites_state, mcu_start_w))
MCFG_ADDRESSABLE_LATCH_Q3_OUT_CB(WRITELINE(equites_state, mcu_switch_w))
- MCFG_FRAGMENT_ADD(common_sound)
+ common_sound(config);
MCFG_DEVICE_ADD("alpha_8201", ALPHA_8201, 4000000/8) // 8303 or 8304 (same device!)
MCFG_QUANTUM_PERFECT_CPU("alpha_8201:mcu")
@@ -1161,7 +1161,8 @@ MACHINE_CONFIG_START(equites_state::equites)
MCFG_VIDEO_START_OVERRIDE(equites_state,equites)
MACHINE_CONFIG_END
-MACHINE_CONFIG_DERIVED(equites_state::gekisou, equites)
+MACHINE_CONFIG_START(equites_state::gekisou)
+ equites(config);
/* basic machine hardware */
MCFG_CPU_MODIFY("maincpu")
@@ -1189,7 +1190,7 @@ MACHINE_CONFIG_START(equites_state::splndrbt)
MCFG_ADDRESSABLE_LATCH_Q2_OUT_CB(WRITELINE(equites_state, mcu_switch_w))
MCFG_ADDRESSABLE_LATCH_Q3_OUT_CB(WRITELINE(equites_state, splndrbt_selchar_w))
- MCFG_FRAGMENT_ADD(common_sound)
+ common_sound(config);
MCFG_DEVICE_ADD("alpha_8201", ALPHA_8201, 4000000/8) // 8303 or 8304 (same device!)
MCFG_QUANTUM_PERFECT_CPU("alpha_8201:mcu")
@@ -1210,7 +1211,8 @@ MACHINE_CONFIG_START(equites_state::splndrbt)
MCFG_VIDEO_START_OVERRIDE(equites_state,splndrbt)
MACHINE_CONFIG_END
-MACHINE_CONFIG_DERIVED(equites_state::hvoltage, splndrbt)
+MACHINE_CONFIG_START(equites_state::hvoltage)
+ splndrbt(config);
// mcu not dumped, so add simulated mcu
MCFG_CPU_ADD("mcu", ALPHA8301L, 4000000/8)