diff options
author | Martin Kiewitz | 2010-09-08 10:49:12 +0000 |
---|---|---|
committer | Martin Kiewitz | 2010-09-08 10:49:12 +0000 |
commit | 06afbd7fbbdb0c581103591dd130d5847966395c (patch) | |
tree | 5aa6e4cfb58ff78010e647a5115278505af85847 /engines | |
parent | 806ee79a7be5ca0dcb0e03d16021ed5eb92f0f27 (diff) | |
download | scummvm-rg350-06afbd7fbbdb0c581103591dd130d5847966395c.tar.gz scummvm-rg350-06afbd7fbbdb0c581103591dd130d5847966395c.tar.bz2 scummvm-rg350-06afbd7fbbdb0c581103591dd130d5847966395c.zip |
SCI: dont remap to channel 9 (fix real mt32)
svn-id: r52634
Diffstat (limited to 'engines')
-rw-r--r-- | engines/sci/sound/music.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/engines/sci/sound/music.cpp b/engines/sci/sound/music.cpp index e90329a879..1e0fe1e103 100644 --- a/engines/sci/sound/music.cpp +++ b/engines/sci/sound/music.cpp @@ -291,6 +291,8 @@ int16 SciMusic::tryToOwnChannel(MusicEntry *caller, int16 bestChannel) { } // otherwise look for unused channel for (int channelNr = _driverFirstChannel; channelNr < 15; channelNr++) { + if (channelNr == 9) // never map to channel 9 (precussion) + continue; if (!_usedChannel[channelNr]) { _usedChannel[channelNr] = caller; return channelNr; |