summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/timex.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/timex.cpp')
-rw-r--r--src/mame/drivers/timex.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/mame/drivers/timex.cpp b/src/mame/drivers/timex.cpp
index 0c962ef5511..18386314adb 100644
--- a/src/mame/drivers/timex.cpp
+++ b/src/mame/drivers/timex.cpp
@@ -715,8 +715,7 @@ MACHINE_CONFIG_START(spectrum_state::ts2068)
MCFG_VIDEO_START_OVERRIDE(spectrum_state, ts2068 )
/* sound */
- MCFG_DEVICE_REPLACE("ay8912", AY8912, XTAL(14'112'000)/8) /* From Schematic; 1.764 MHz */
- MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.25)
+ AY8912(config.replace(), "ay8912", XTAL(14'112'000)/8).add_route(ALL_OUTPUTS, "mono", 0.25); /* From Schematic; 1.764 MHz */
/* cartridge */
MCFG_GENERIC_CARTSLOT_ADD("dockslot", generic_plain_slot, "timex_cart")