[Scummvm-cvs-logs] SF.net SVN: scummvm:[50563] scummvm/trunk/engines/kyra/sound_towns.cpp
athrxx at users.sourceforge.net
athrxx at users.sourceforge.net
Thu Jul 1 20:34:14 CEST 2010
Revision: 50563
http://scummvm.svn.sourceforge.net/scummvm/?rev=50563&view=rev
Author: athrxx
Date: 2010-07-01 18:34:14 +0000 (Thu, 01 Jul 2010)
Log Message:
-----------
KYRA/PC98: minor cleanup
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-01 17:52:50 UTC (rev 50562)
+++ scummvm/trunk/engines/kyra/sound_towns.cpp 2010-07-01 18:34:14 UTC (rev 50563)
@@ -3764,8 +3764,8 @@
}
void TownsPC98_OpnDriver::startSoundEffect() {
- int i = 0;
- for (; i < 2; i++) {
+ _updateSfxFlag = 0;
+ for (int i = 0; i < 2; i++) {
if (_sfxOffsets[i]) {
_ssgChannels[i + 1]->protect();
_sfxChannels[i]->reset();
@@ -3775,7 +3775,7 @@
}
int volFlags = 0;
- for (i = 0; i < (_numChan + _numSSG - 2); i++)
+ for (int i = 0; i < (_numChan + _numSSG - 2); i++)
volFlags |= (1 << i);
setVolumeChannelMasks(volFlags, ~volFlags);
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