summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/atari_s2.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/atari_s2.cpp')
-rw-r--r--src/mame/drivers/atari_s2.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/mame/drivers/atari_s2.cpp b/src/mame/drivers/atari_s2.cpp
index c6e87417559..19a68dd077c 100644
--- a/src/mame/drivers/atari_s2.cpp
+++ b/src/mame/drivers/atari_s2.cpp
@@ -477,7 +477,7 @@ MACHINE_CONFIG_START(atari_s2_state::atari_s2)
MCFG_WATCHDOG_ADD("watchdog")
/* Sound */
- MCFG_FRAGMENT_ADD( genpin_audio )
+ genpin_audio(config);
MCFG_SPEAKER_STANDARD_MONO("speaker")
MCFG_SOUND_ADD("dac", DAC_4BIT_BINARY_WEIGHTED, 0) MCFG_SOUND_ROUTE(ALL_OUTPUTS, "speaker", 0.15) // r23-r26 (68k,33k,18k,8.2k)
@@ -493,7 +493,8 @@ MACHINE_CONFIG_START(atari_s2_state::atari_s2)
MCFG_TIMER_DRIVER_ADD_PERIODIC("timer_s", atari_s2_state, timer_s, attotime::from_hz(150000))
MACHINE_CONFIG_END
-MACHINE_CONFIG_DERIVED(atari_s2_state::atari_s3, atari_s2)
+MACHINE_CONFIG_START(atari_s2_state::atari_s3)
+ atari_s2(config);
MCFG_CPU_MODIFY("maincpu")
MCFG_CPU_PROGRAM_MAP(atari_s3_map)
MACHINE_CONFIG_END