summaryrefslogtreecommitdiffstats
path: root/src/mame/drivers/dlair.cpp
diff options
context:
space:
mode:
authorGravatarGravatar Vas Crabb <vas@vastheman.com>2018-02-14 22:40:47 +1100
committerGravatarGravatar Vas Crabb <vas@vastheman.com>2018-02-14 23:46:17 +1100
commitf4df51e5223578e206574234c0b8d1af300c3324 (patch) (github)
treefd5c680c45baee30304a31723132444fe7359dfb /src/mame/drivers/dlair.cpp
parent1bd974c2b4f1f8815065efd4f5fcc0443ae15d28 (diff)
downloadmame-f4df51e5223578e206574234c0b8d1af300c3324.tar.bz2
mame-f4df51e5223578e206574234c0b8d1af300c3324.zip
(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/dlair.cpp')
-rw-r--r--src/mame/drivers/dlair.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/mame/drivers/dlair.cpp b/src/mame/drivers/dlair.cpp
index 43baef0ea2f..fa234128fd2 100644
--- a/src/mame/drivers/dlair.cpp
+++ b/src/mame/drivers/dlair.cpp
@@ -734,7 +734,8 @@ MACHINE_CONFIG_START(dlair_state::dlair_base)
MACHINE_CONFIG_END
-MACHINE_CONFIG_DERIVED(dlair_state::dlair_pr7820, dlair_base)
+MACHINE_CONFIG_START(dlair_state::dlair_pr7820)
+ dlair_base(config);
MCFG_LASERDISC_PR7820_ADD("ld_pr7820")
MCFG_SOUND_ROUTE(0, "lspeaker", 1.0)
MCFG_SOUND_ROUTE(1, "rspeaker", 1.0)
@@ -742,7 +743,8 @@ MACHINE_CONFIG_DERIVED(dlair_state::dlair_pr7820, dlair_base)
MACHINE_CONFIG_END
-MACHINE_CONFIG_DERIVED(dlair_state::dlair_ldv1000, dlair_base)
+MACHINE_CONFIG_START(dlair_state::dlair_ldv1000)
+ dlair_base(config);
MCFG_LASERDISC_LDV1000_ADD("ld_ldv1000")
MCFG_SOUND_ROUTE(0, "lspeaker", 1.0)
MCFG_SOUND_ROUTE(1, "rspeaker", 1.0)