summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
author Vas Crabb <vas@vastheman.com>2021-06-27 13:47:50 +1000
committer Vas Crabb <vas@vastheman.com>2021-06-27 13:47:50 +1000
commita10091416c1df88f4ec62842d0af19ac52c1cef7 (patch)
tree90a1d8db1941ec62a633b078ea7c4576c3bfe055
parent4b075a2c6f8b3825c3cf766a4b3002c461f3c800 (diff)
vsmjtria.cpp: Game uses dual mono sound for the two player sides, put them on left/right speakers.
-rw-r--r--src/mame/drivers/vsmjtria.cpp8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/mame/drivers/vsmjtria.cpp b/src/mame/drivers/vsmjtria.cpp
index 009a19c83eb..64a96727562 100644
--- a/src/mame/drivers/vsmjtria.cpp
+++ b/src/mame/drivers/vsmjtria.cpp
@@ -503,17 +503,19 @@ void vsmjtria_state::vsmjtria(machine_config &config)
rscreen.set_screen_update(FUNC(vsmjtria_state::screen_update<1>));
rscreen.set_palette("palette1");
- SPEAKER(config, "speaker").front_center();
+ SPEAKER(config, "speaker0").front_left(); // P1 side
ay8910_device &ay0(AY8910(config, "ay0", 20_MHz_XTAL / 16)); // divider guessed
ay0.port_a_read_callback().set_ioport("DSW2");
ay0.port_b_read_callback().set_ioport("DSW1");
- ay0.add_route(ALL_OUTPUTS, "speaker", 0.33);
+ ay0.add_route(ALL_OUTPUTS, "speaker0", 0.33);
+
+ SPEAKER(config, "speaker1").front_right(); // P2 side
ay8910_device &ay1(AY8910(config, "ay1", 20_MHz_XTAL / 16)); // divider guessed
ay1.port_a_read_callback().set_ioport("DSW4");
ay1.port_b_read_callback().set_ioport("DSW3");
- ay1.add_route(ALL_OUTPUTS, "speaker", 0.33);
+ ay1.add_route(ALL_OUTPUTS, "speaker1", 0.33);
}
ROM_START( vsmjtria )