[Scummvm-cvs-logs] SF.net SVN: scummvm:[52634] scummvm/trunk/engines/sci/sound/music.cpp
m_kiewitz at users.sourceforge.net
m_kiewitz at users.sourceforge.net
Wed Sep 8 12:49:12 CEST 2010
Revision: 52634
http://scummvm.svn.sourceforge.net/scummvm/?rev=52634&view=rev
Author: m_kiewitz
Date: 2010-09-08 10:49:12 +0000 (Wed, 08 Sep 2010)
Log Message:
-----------
SCI: dont remap to channel 9 (fix real mt32)
Modified Paths:
--------------
scummvm/trunk/engines/sci/sound/music.cpp
Modified: scummvm/trunk/engines/sci/sound/music.cpp
===================================================================
--- scummvm/trunk/engines/sci/sound/music.cpp 2010-09-08 09:37:33 UTC (rev 52633)
+++ scummvm/trunk/engines/sci/sound/music.cpp 2010-09-08 10:49:12 UTC (rev 52634)
@@ -291,6 +291,8 @@
}
// 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;
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