summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/dday.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/dday.cpp')
-rw-r--r--src/mame/drivers/dday.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/mame/drivers/dday.cpp b/src/mame/drivers/dday.cpp
index 1385c36f450..d0239efaa17 100644
--- a/src/mame/drivers/dday.cpp
+++ b/src/mame/drivers/dday.cpp
@@ -279,11 +279,9 @@ MACHINE_CONFIG_START(dday_state::dday)
/* sound hardware */
SPEAKER(config, "mono").front_center();
- MCFG_DEVICE_ADD("ay1", AY8910, 1000000)
- MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.25)
+ AY8910(config, m_ay1, 1000000).add_route(ALL_OUTPUTS, "mono", 0.25);
- MCFG_DEVICE_ADD("ay2", AY8910, 1000000)
- MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.25)
+ AY8910(config, "ay2", 1000000).add_route(ALL_OUTPUTS, "mono", 0.25);
MACHINE_CONFIG_END