[Scummvm-cvs-logs] SF.net SVN: scummvm:[41783] scummvm/trunk/engines/gob/sound/adlib.cpp
drmccoy at users.sourceforge.net
drmccoy at users.sourceforge.net
Mon Jun 22 22:51:49 CEST 2009
Revision: 41783
http://scummvm.svn.sourceforge.net/scummvm/?rev=41783&view=rev
Author: drmccoy
Date: 2009-06-22 20:51:48 +0000 (Mon, 22 Jun 2009)
Log Message:
-----------
Removing trailing spaces
Modified Paths:
--------------
scummvm/trunk/engines/gob/sound/adlib.cpp
Modified: scummvm/trunk/engines/gob/sound/adlib.cpp
===================================================================
--- scummvm/trunk/engines/gob/sound/adlib.cpp 2009-06-22 20:51:34 UTC (rev 41782)
+++ scummvm/trunk/engines/gob/sound/adlib.cpp 2009-06-22 20:51:48 UTC (rev 41783)
@@ -516,9 +516,9 @@
_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 @@
tempoMult = *(_playPos++);
tempoFrac = *(_playPos++);
_tempo = _basicTempo * tempoMult + (unsigned)(((long)_basicTempo * tempoFrac) >> 7);
- _playPos++;
+ _playPos++;
}
_wait = *(_playPos++);
break;
@@ -704,8 +704,8 @@
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 @@
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 @@
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
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the Scummvm-git-logs
mailing list