summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/gp_1.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/gp_1.cpp')
-rw-r--r--src/mame/drivers/gp_1.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/mame/drivers/gp_1.cpp b/src/mame/drivers/gp_1.cpp
index 9522c84e68e..f6602dd54c9 100644
--- a/src/mame/drivers/gp_1.cpp
+++ b/src/mame/drivers/gp_1.cpp
@@ -438,7 +438,7 @@ MACHINE_CONFIG_START(gp_1_state::gp_1)
MCFG_DEFAULT_LAYOUT(layout_gp_1)
/* Sound */
- MCFG_FRAGMENT_ADD( genpin_audio )
+ genpin_audio(config);
/* Devices */
MCFG_DEVICE_ADD("ppi", I8255A, 0 )
@@ -451,7 +451,8 @@ MACHINE_CONFIG_START(gp_1_state::gp_1)
MCFG_TIMER_DRIVER_ADD_PERIODIC("gp1", gp_1_state, zero_timer, attotime::from_hz(120)) // mains freq*2
MACHINE_CONFIG_END
-MACHINE_CONFIG_DERIVED(gp_1_state::gp_1s, gp_1)
+MACHINE_CONFIG_START(gp_1_state::gp_1s)
+ gp_1(config);
MCFG_SPEAKER_STANDARD_MONO("mono")
MCFG_SOUND_ADD("snsnd", SN76477, 0)
MCFG_SN76477_NOISE_PARAMS(0, 0, 0) // noise + filter: N/C