Skip to content

Commit c869b5d

Browse files
authored
shared/rax.cpp: Use device_mixer_interface for sound route, Cleanups (#12444)
- Use C++ style comments for single line comments - Suppress side effect for debugger reads - Make variables constant - Fix spacing - Reduce literal tag usages - Add variables into save state sony/zn.cpp: Cleanups - Suppress side effects for debugger reads - Make variables constant sega/stv.cpp: Add notes
1 parent 9d66f71 commit c869b5d

File tree

4 files changed

+164
-132
lines changed

4 files changed

+164
-132
lines changed

src/mame/sega/stv.cpp

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1250,7 +1250,10 @@ void stv_state::batmanfr_sound_comms_w(offs_t offset, uint32_t data, uint32_t me
12501250
void stv_state::batmanfr(machine_config &config)
12511251
{
12521252
stv(config);
1253-
ACCLAIM_RAX(config, "rax", 0);
1253+
ACCLAIM_RAX(config, m_rax, 0);
1254+
// TODO: RAX output connected to SCSP?
1255+
m_rax->add_route(0, "lspeaker", 1.0);
1256+
m_rax->add_route(1, "rspeaker", 1.0);
12541257
}
12551258

12561259
void stv_state::shienryu(machine_config &config)

0 commit comments

Comments
 (0)