[Scummvm-cvs-logs] SF.net SVN: scummvm:[51093] scummvm/trunk/engines/kyra/sound_towns.cpp
lordhoto at users.sourceforge.net
lordhoto at users.sourceforge.net
Wed Jul 21 20:15:39 CEST 2010
Revision: 51093
http://scummvm.svn.sourceforge.net/scummvm/?rev=51093&view=rev
Author: lordhoto
Date: 2010-07-21 18:15:39 +0000 (Wed, 21 Jul 2010)
Log Message:
-----------
Strip trailing whitespaces.
Modified Paths:
--------------
scummvm/trunk/engines/kyra/sound_towns.cpp
Modified: scummvm/trunk/engines/kyra/sound_towns.cpp
===================================================================
--- scummvm/trunk/engines/kyra/sound_towns.cpp 2010-07-21 18:04:46 UTC (rev 51092)
+++ scummvm/trunk/engines/kyra/sound_towns.cpp 2010-07-21 18:15:39 UTC (rev 51093)
@@ -1854,7 +1854,7 @@
_dataPtr = data;
_totalLevel = 0x7F;
- uint8 *tmp = _dataPtr;
+ uint8 *tmp = _dataPtr;
for (bool loop = true; loop; ) {
uint8 cmd = *tmp++;
if (cmd < 0xf0) {
@@ -2502,7 +2502,7 @@
_ssgTl = 0xff;
_algorithm = 0x80;
- uint8 *tmp = _dataPtr;
+ uint8 *tmp = _dataPtr;
for (bool loop = true; loop; ) {
uint8 cmd = *tmp++;
if (cmd < 0xf0) {
@@ -2793,7 +2793,7 @@
finOut += finOutTemp;
}
- finOut /= 3;
+ finOut /= 3;
buffer[i << 1] += finOut;
buffer[(i << 1) + 1] += finOut;
@@ -3330,7 +3330,7 @@
if (_ssg)
_ssg->setVolumeChannelMasks(_volMaskA >> _numChan, _volMaskB >> _numChan);
if (_prc)
- _prc->setVolumeChannelMasks(_volMaskA >> (_numChan + _numSSG), _volMaskB >> (_numChan + _numSSG));
+ _prc->setVolumeChannelMasks(_volMaskA >> (_numChan + _numSSG), _volMaskB >> (_numChan + _numSSG));
}
void TownsPC98_OpnCore::generateTables() {
@@ -3800,7 +3800,7 @@
void TownsPC98_OpnDriver::startSoundEffect() {
int volFlags = 0;
-
+
for (int i = 0; i < 2; i++) {
if (_sfxOffsets[i]) {
_ssgChannels[i + 1]->protect();
@@ -3813,7 +3813,7 @@
_updateSfxFlag &= ~_sfxChannels[i]->_idFlag;
}
}
-
+
setVolumeChannelMasks(~volFlags, volFlags);
_sfxData = 0;
}
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