aboutsummaryrefslogtreecommitdiff
path: root/engines/gob/sound
diff options
context:
space:
mode:
authorSven Hesse2009-06-22 20:51:48 +0000
committerSven Hesse2009-06-22 20:51:48 +0000
commit6c7a790b54ad0e158b379b6937066c795cd11114 (patch)
tree34190c05259f66f9658c11090e35490482ec524d /engines/gob/sound
parentc31b79b7c99b56d1891de716038608f2a6b919dd (diff)
downloadscummvm-rg350-6c7a790b54ad0e158b379b6937066c795cd11114.tar.gz
scummvm-rg350-6c7a790b54ad0e158b379b6937066c795cd11114.tar.bz2
scummvm-rg350-6c7a790b54ad0e158b379b6937066c795cd11114.zip
Removing trailing spaces
svn-id: r41783
Diffstat (limited to 'engines/gob/sound')
-rw-r--r--engines/gob/sound/adlib.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/engines/gob/sound/adlib.cpp b/engines/gob/sound/adlib.cpp
index 32452b3d84..bb8bb86479 100644
--- a/engines/gob/sound/adlib.cpp
+++ b/engines/gob/sound/adlib.cpp
@@ -516,9 +516,9 @@ bool MDYPlayer::loadMDY(Common::SeekableReadStream &stream) {
_pitchBendRangeStep = 25*mdyHeader[59];
_basicTempo = mdyHeader[60] + (mdyHeader[61] << 8);
- if (_pitchBendRangeStep < 25)
+ if (_pitchBendRangeStep < 25)
_pitchBendRangeStep = 25;
- else if (_pitchBendRangeStep > 300)
+ else if (_pitchBendRangeStep > 300)
_pitchBendRangeStep = 300;
_data = new byte[_dataSize];
@@ -634,7 +634,7 @@ void MDYPlayer::interpret() {
tempoMult = *(_playPos++);
tempoFrac = *(_playPos++);
_tempo = _basicTempo * tempoMult + (unsigned)(((long)_basicTempo * tempoFrac) >> 7);
- _playPos++;
+ _playPos++;
}
_wait = *(_playPos++);
break;
@@ -704,8 +704,8 @@ void MDYPlayer::interpret() {
void MDYPlayer::reset() {
AdLib::reset();
-// _soundMode 1 : Percussive mode.
- if (_soundMode == 1) {
+// _soundMode 1 : Percussive mode.
+ if (_soundMode == 1) {
writeOPL(0xA6, 0);
writeOPL(0xB6, 0);
writeOPL(0xA7, 0);
@@ -732,7 +732,7 @@ void MDYPlayer::setVoices() {
debugC(6, kDebugSound, "Timbres counter: %d", _tbrCount);
timbrePtr += 2;
_tbrStart = READ_LE_UINT16(timbrePtr);
-
+
timbrePtr += 2;
for (int i = 0; i < _tbrCount ; i++)
setVoice(i, i, true);
@@ -746,7 +746,7 @@ void MDYPlayer::setVoice(byte voice, byte instr, bool set) {
timbreName[9] = '\0';
for (int j = 0; j < 9; j++)
- timbreName[j] = _timbres[6 + j + (instr * 9)];
+ timbreName[j] = _timbres[6 + j + (instr * 9)];
debugC(6, kDebugSound, "Loading timbre %s", timbreName);
// i = 0 : 0 1 2 3 4 5 6 7 8 9 10 11 12 26