mirror of
https://github.com/libretro/scummvm.git
synced 2025-02-03 09:23:37 +00:00
AUDIO: Slight cleanup and typo fix in S&M OPL3 code.
This commit is contained in:
parent
40ab5f8788
commit
be60a641bf
@ -2007,12 +2007,13 @@ void MidiDriver_ADLIB::adlibSetupChannelSecondary(int chan, const AdLibInstrumen
|
||||
// The original uses the following (strange) behavior:
|
||||
#if 0
|
||||
if (instr->feedback | (pan > 64)) {
|
||||
adlibWriteSecondary((byte)chan + 0xC0, 0x10);
|
||||
} else {
|
||||
adlibWriteSecondary((byte)chan + 0xC0, 0x20);
|
||||
} else {
|
||||
adlibWriteSecondary((byte)chan + 0xC0, 0x10);
|
||||
}
|
||||
#endif
|
||||
#else
|
||||
adlibWriteSecondary((byte)chan + 0xC0, instr->feedback | ((pan > 64) ? 0x20 : 0x10));
|
||||
#endif
|
||||
}
|
||||
|
||||
void MidiDriver_ADLIB::mcInitStuff(AdLibVoice *voice, Struct10 *s10,
|
||||
|
Loading…
x
Reference in New Issue
Block a user