Skip to content

Commit

Permalink
SCI: Match SSCI channel reset order
Browse files Browse the repository at this point in the history
It may or may not matter for a driver's voice mapping.
  • Loading branch information
wjp committed Feb 14, 2015
1 parent f1e34f1 commit 26d55b0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion engines/sci/sound/music.cpp
Expand Up @@ -1062,7 +1062,7 @@ void SciMusic::remapChannels() {
}

// And finally, stop any empty channels
for (int i = _driverFirstChannel; i <= _driverLastChannel; ++i) {
for (int i = _driverLastChannel; i >= _driverFirstChannel; --i) {
if (!_channelMap[i]._song && currentMap[i]._song)
resetDeviceChannel(i);
}
Expand Down

0 comments on commit 26d55b0

Please sign in to comment.