mirror of
https://github.com/libretro/scummvm.git
synced 2025-03-03 08:40:59 +00:00
AUDIO: miles audio AdLib: fix left/right panning
channels were (wrongly) reversed found and tested in discworld 1
This commit is contained in:
parent
63656348a7
commit
d1fe3d1aa3
@ -789,9 +789,9 @@ void MidiDriver_Miles_AdLib::updatePhysicalFmVoice(byte virtualFmVoice, bool key
|
||||
byte panning = _midiChannels[midiChannel].currentPanning;
|
||||
|
||||
if (panning <= MILES_ADLIB_STEREO_PANNING_THRESHOLD_LEFT) {
|
||||
regC0 |= 0x10; // left speaker only
|
||||
regC0 |= 0x20; // left speaker only
|
||||
} else if (panning >= MILES_ADLIB_STEREO_PANNING_THRESHOLD_RIGHT) {
|
||||
regC0 |= 0x20; // right speaker only
|
||||
regC0 |= 0x10; // right speaker only
|
||||
} else {
|
||||
regC0 |= 0x30; // center
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user