summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/gameplan.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/gameplan.cpp')
-rw-r--r--src/mame/drivers/gameplan.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/mame/drivers/gameplan.cpp b/src/mame/drivers/gameplan.cpp
index 9757dfebff9..fde843f09bc 100644
--- a/src/mame/drivers/gameplan.cpp
+++ b/src/mame/drivers/gameplan.cpp
@@ -973,7 +973,7 @@ MACHINE_CONFIG_START(gameplan_state::gameplan)
MCFG_MACHINE_RESET_OVERRIDE(gameplan_state,gameplan)
/* video hardware */
- MCFG_FRAGMENT_ADD(gameplan_video)
+ gameplan_video(config);
/* audio hardware */
MCFG_SPEAKER_STANDARD_MONO("mono")
@@ -1005,7 +1005,8 @@ MACHINE_CONFIG_START(gameplan_state::gameplan)
MACHINE_CONFIG_END
-MACHINE_CONFIG_DERIVED(gameplan_state::leprechn, gameplan)
+MACHINE_CONFIG_START(gameplan_state::leprechn)
+ gameplan(config);
MCFG_CPU_MODIFY("maincpu")
MCFG_CPU_CLOCK(LEPRECHAUN_MAIN_CPU_CLOCK)
@@ -1014,7 +1015,7 @@ MACHINE_CONFIG_DERIVED(gameplan_state::leprechn, gameplan)
MCFG_CPU_PROGRAM_MAP(leprechn_audio_map)
/* video hardware */
- MCFG_FRAGMENT_ADD(leprechn_video)
+ leprechn_video(config);
/* via */
MCFG_DEVICE_MODIFY("via6522_0")