aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
Diffstat (limited to 'engines')
-rw-r--r--engines/sci/sound/music.cpp6
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;