summaryrefslogtreecommitdiffstats
path: root/src/mame/drivers/overdriv.cpp
diff options
context:
space:
mode:
authorGravatarGravatar Ivan Vangelista <mesgnet@yahoo.it>2018-11-18 08:55:46 +0100
committerGravatarGravatar Ivan Vangelista <mesgnet@yahoo.it>2018-11-18 08:55:46 +0100
commit8d029da480431d6042e6f49f7088f6696d05dd4d (patch) (github)
tree85a46f6e2b2bd9f378dc734d21a8110858b9fff2 /src/mame/drivers/overdriv.cpp
parentd8420e2c8f3babc90c0be99b8638b9e518317a55 (diff)
downloadmame-8d029da480431d6042e6f49f7088f6696d05dd4d.tar.bz2
mame-8d029da480431d6042e6f49f7088f6696d05dd4d.zip
ym2151: removed MCFG macros (nw)
Diffstat (limited to 'src/mame/drivers/overdriv.cpp')
-rw-r--r--src/mame/drivers/overdriv.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/mame/drivers/overdriv.cpp b/src/mame/drivers/overdriv.cpp
index cff5b92b5c0..3957ead1706 100644
--- a/src/mame/drivers/overdriv.cpp
+++ b/src/mame/drivers/overdriv.cpp
@@ -384,9 +384,7 @@ MACHINE_CONFIG_START(overdriv_state::overdriv)
SPEAKER(config, "lspeaker").front_left();
SPEAKER(config, "rspeaker").front_right();
- MCFG_DEVICE_ADD("ymsnd", YM2151, XTAL(3'579'545))
- MCFG_SOUND_ROUTE(0, "lspeaker", 0.5)
- MCFG_SOUND_ROUTE(1, "rspeaker", 0.5)
+ YM2151(config, "ymsnd", XTAL(3'579'545)).add_route(0, "lspeaker", 0.5).add_route(1, "rspeaker", 0.5);
MCFG_K053260_ADD("k053260_1", XTAL(3'579'545))
MCFG_DEVICE_ADDRESS_MAP(0, overdriv_k053260_map)