diff options
author | Willem Jan Palenstijn | 2014-10-02 18:24:14 +0200 |
---|---|---|
committer | Willem Jan Palenstijn | 2015-02-14 16:06:55 +0100 |
commit | 26d55b09a8b198b0a9b9349d684eec6376d98c8c (patch) | |
tree | 9470853d1798318eeac07018fd564da1bfe82063 /engines | |
parent | f1e34f11d742ef32ed48926092d93f3448732f2e (diff) | |
download | scummvm-rg350-26d55b09a8b198b0a9b9349d684eec6376d98c8c.tar.gz scummvm-rg350-26d55b09a8b198b0a9b9349d684eec6376d98c8c.tar.bz2 scummvm-rg350-26d55b09a8b198b0a9b9349d684eec6376d98c8c.zip |
SCI: Match SSCI channel reset order
It may or may not matter for a driver's voice mapping.
Diffstat (limited to 'engines')
-rw-r--r-- | engines/sci/sound/music.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/sci/sound/music.cpp b/engines/sci/sound/music.cpp index 5a37357045..05605c0c45 100644 --- a/engines/sci/sound/music.cpp +++ b/engines/sci/sound/music.cpp @@ -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); } |