diff options
author | Filippos Karapetis | 2010-11-26 14:25:18 +0000 |
---|---|---|
committer | Filippos Karapetis | 2010-11-26 14:25:18 +0000 |
commit | 5562f9e087cf486da68b4d1ed08a34ac260d1e93 (patch) | |
tree | c4ed880f9f3058cb2ecd01af01472b6462026d72 /engines/sci | |
parent | d3b14e1445e10640847ab16545c769da2d32592d (diff) | |
download | scummvm-rg350-5562f9e087cf486da68b4d1ed08a34ac260d1e93.tar.gz scummvm-rg350-5562f9e087cf486da68b4d1ed08a34ac260d1e93.tar.bz2 scummvm-rg350-5562f9e087cf486da68b4d1ed08a34ac260d1e93.zip |
SCI: Added a define to turn off channel remapping (for debugging)
svn-id: r54496
Diffstat (limited to 'engines/sci')
-rw-r--r-- | engines/sci/sound/music.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/engines/sci/sound/music.cpp b/engines/sci/sound/music.cpp index f119c27b8e..d72af2b006 100644 --- a/engines/sci/sound/music.cpp +++ b/engines/sci/sound/music.cpp @@ -36,6 +36,8 @@ #include "sci/sound/midiparser_sci.h" #include "sci/sound/music.h" +//#define DISABLE_REMAPPING + namespace Sci { SciMusic::SciMusic(SciVersion soundVersion) @@ -327,6 +329,10 @@ void SciMusic::soundInitSnd(MusicEntry *pSnd) { // This one checks, if requested channel is available -> in that case give // caller that channel. Otherwise look for an unused one int16 SciMusic::tryToOwnChannel(MusicEntry *caller, int16 bestChannel) { +#ifdef DISABLE_REMAPPING + return bestChannel; +#endif + // Don't even try this for SCI0 if (_soundVersion <= SCI_VERSION_0_LATE) return bestChannel; |