summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/badlands.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/badlands.cpp')
-rw-r--r--src/mame/drivers/badlands.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/mame/drivers/badlands.cpp b/src/mame/drivers/badlands.cpp
index 4228d334fa2..4a04e73c714 100644
--- a/src/mame/drivers/badlands.cpp
+++ b/src/mame/drivers/badlands.cpp
@@ -483,9 +483,7 @@ MACHINE_CONFIG_START(badlands_state::badlands)
.int_callback().set_inputline("maincpu", M68K_IRQ_2);
SPEAKER(config, "mono").front_center();
- MCFG_DEVICE_ADD("ymsnd", YM2151, ATARI_CLOCK_14MHz/4)
- MCFG_SOUND_ROUTE(0, "mono", 0.30)
- MCFG_SOUND_ROUTE(1, "mono", 0.30)
+ YM2151(config, "ymsnd", ATARI_CLOCK_14MHz/4).add_route(0, "mono", 0.30).add_route(1, "mono", 0.30);
MACHINE_CONFIG_END