summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/misc/neoprint.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/misc/neoprint.cpp')
-rw-r--r--src/mame/misc/neoprint.cpp22
1 files changed, 10 insertions, 12 deletions
diff --git a/src/mame/misc/neoprint.cpp b/src/mame/misc/neoprint.cpp
index 506f4963a0f..86027b296b7 100644
--- a/src/mame/misc/neoprint.cpp
+++ b/src/mame/misc/neoprint.cpp
@@ -536,17 +536,16 @@ void neoprint_state::neoprint(machine_config &config)
PALETTE(config, m_palette).set_format(palette_device::xBGR_555, 0x10000);
- SPEAKER(config, "lspeaker").front_left();
- SPEAKER(config, "rspeaker").front_right();
+ SPEAKER(config, "speaker", 2).front();
GENERIC_LATCH_8(config, m_soundlatch);
ym2610_device &ymsnd(YM2610(config, "ymsnd", 24000000 / 3));
ymsnd.irq_handler().set_inputline(m_audiocpu, 0);
- ymsnd.add_route(0, "lspeaker", 0.60);
- ymsnd.add_route(0, "rspeaker", 0.60);
- ymsnd.add_route(1, "lspeaker", 1.0);
- ymsnd.add_route(2, "rspeaker", 1.0);
+ ymsnd.add_route(0, "speaker", 0.60, 0);
+ ymsnd.add_route(0, "speaker", 0.60, 1);
+ ymsnd.add_route(1, "speaker", 1.0, 0);
+ ymsnd.add_route(2, "speaker", 1.0, 1);
}
MACHINE_RESET_MEMBER(neoprint_state,nprsp)
@@ -582,17 +581,16 @@ void neoprint_state::nprsp(machine_config &config)
PALETTE(config, m_palette).set_format(palette_device::xBGR_555, 0x10000);
- SPEAKER(config, "lspeaker").front_left();
- SPEAKER(config, "rspeaker").front_right();
+ SPEAKER(config, "speaker", 2).front();
GENERIC_LATCH_8(config, m_soundlatch);
ym2610_device &ymsnd(YM2610(config, "ymsnd", 24000000 / 3));
ymsnd.irq_handler().set_inputline(m_audiocpu, 0);
- ymsnd.add_route(0, "lspeaker", 0.60);
- ymsnd.add_route(0, "rspeaker", 0.60);
- ymsnd.add_route(1, "lspeaker", 1.0);
- ymsnd.add_route(2, "rspeaker", 1.0);
+ ymsnd.add_route(0, "speaker", 0.60, 0);
+ ymsnd.add_route(0, "speaker", 0.60, 1);
+ ymsnd.add_route(1, "speaker", 1.0, 0);
+ ymsnd.add_route(2, "speaker", 1.0, 1);
}