summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/crgolf.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/crgolf.cpp')
-rw-r--r--src/mame/drivers/crgolf.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/mame/drivers/crgolf.cpp b/src/mame/drivers/crgolf.cpp
index d0169abd818..6929217896f 100644
--- a/src/mame/drivers/crgolf.cpp
+++ b/src/mame/drivers/crgolf.cpp
@@ -509,8 +509,7 @@ MACHINE_CONFIG_START(crgolf_state::crgolf)
/* sound hardware */
SPEAKER(config, "mono").front_center();
- MCFG_DEVICE_ADD("aysnd", AY8910, MASTER_CLOCK/3/2/2)
- MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 1.0)
+ AY8910(config, "aysnd", MASTER_CLOCK/3/2/2).add_route(ALL_OUTPUTS, "mono", 1.0);
MACHINE_CONFIG_END