mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-18 15:48:48 +00:00
KYRA/PC98: minor cleanup
svn-id: r50563
This commit is contained in:
parent
7f3b772938
commit
eb84a130ad
@ -3764,8 +3764,8 @@ void TownsPC98_OpnDriver::setSfxTempo(uint16 tempo) {
|
||||
}
|
||||
|
||||
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 @@ void TownsPC98_OpnDriver::startSoundEffect() {
|
||||
}
|
||||
|
||||
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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user