diff options
Diffstat (limited to 'src/devices/bus/msx/module/sfg.cpp')
-rw-r--r-- | src/devices/bus/msx/module/sfg.cpp | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/src/devices/bus/msx/module/sfg.cpp b/src/devices/bus/msx/module/sfg.cpp index 34657e59738..a9ba98068a5 100644 --- a/src/devices/bus/msx/module/sfg.cpp +++ b/src/devices/bus/msx/module/sfg.cpp @@ -63,12 +63,11 @@ void msx_cart_sfg_device::device_add_mconfig(machine_config &config) // YM3012 (DAC) // YM2148 (MKS) - SPEAKER(config, "lspeaker").front_left(); - SPEAKER(config, "rspeaker").front_right(); + SPEAKER(config, "speaker", 2).front(); ym2151_device &ym2151(YM2151(config, m_ym2151, DERIVED_CLOCK(1, 1))); // The SFG01 uses a YM2151, the SFG05 uses a YM2164, input clock comes from the main cpu frequency ym2151.irq_handler().set(FUNC(msx_cart_sfg_device::ym2151_irq_w)); - ym2151.add_route(0, "lspeaker", 0.80); - ym2151.add_route(1, "rspeaker", 0.80); + ym2151.add_route(0, "speaker", 0.80, 0); + ym2151.add_route(1, "speaker", 0.80, 1); YM2148(config, m_ym2148, XTAL(4'000'000)); m_ym2148->txd_handler().set("mdout", FUNC(midi_port_device::write_txd)); @@ -186,8 +185,8 @@ void msx_cart_sfg05_device::device_add_mconfig(machine_config &config) ym2164_device &ym2164(YM2164(config.replace(), m_ym2151, DERIVED_CLOCK(1, 1))); ym2164.irq_handler().set(FUNC(msx_cart_sfg05_device::ym2151_irq_w)); - ym2164.add_route(0, "lspeaker", 0.80); - ym2164.add_route(1, "rspeaker", 0.80); + ym2164.add_route(0, "speaker", 0.80, 0); + ym2164.add_route(1, "speaker", 0.80, 1); } ROM_START(msx_sfg05) |