[Scummvm-cvs-logs] scummvm master -> d1fe3d1aa320ec6fba9753bbfc8550768a3dfba2
m-kiewitz
m_kiewitz at users.sourceforge.net
Sun Jun 28 02:23:04 CEST 2015
This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .
Summary:
d1fe3d1aa3 AUDIO: miles audio AdLib: fix left/right panning
Commit: d1fe3d1aa320ec6fba9753bbfc8550768a3dfba2
https://github.com/scummvm/scummvm/commit/d1fe3d1aa320ec6fba9753bbfc8550768a3dfba2
Author: Martin Kiewitz (m_kiewitz at users.sourceforge.net)
Date: 2015-06-28T02:22:51+02:00
Commit Message:
AUDIO: miles audio AdLib: fix left/right panning
channels were (wrongly) reversed
found and tested in discworld 1
Changed paths:
audio/miles_adlib.cpp
diff --git a/audio/miles_adlib.cpp b/audio/miles_adlib.cpp
index 63c644b..1c157f6 100644
--- a/audio/miles_adlib.cpp
+++ b/audio/miles_adlib.cpp
@@ -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
}
More information about the Scummvm-git-logs
mailing list