aboutsummaryrefslogtreecommitdiff
path: root/engines/sci
diff options
context:
space:
mode:
authorWillem Jan Palenstijn2014-05-25 12:59:39 +0200
committerWillem Jan Palenstijn2014-05-25 12:59:39 +0200
commit0ba17d909a0f816e1d48d0aa4972a719329d748d (patch)
treeea1c4a91dbaa8bc044b01012d84192b12f64ca95 /engines/sci
parentb0f1c28c7913198a1a3685498512c066b57a3b44 (diff)
downloadscummvm-rg350-0ba17d909a0f816e1d48d0aa4972a719329d748d.tar.gz
scummvm-rg350-0ba17d909a0f816e1d48d0aa4972a719329d748d.tar.bz2
scummvm-rg350-0ba17d909a0f816e1d48d0aa4972a719329d748d.zip
SCI: Make debugging output conditional
Diffstat (limited to 'engines/sci')
-rw-r--r--engines/sci/sound/music.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/engines/sci/sound/music.cpp b/engines/sci/sound/music.cpp
index 606d81357c..933dc0635c 100644
--- a/engines/sci/sound/music.cpp
+++ b/engines/sci/sound/music.cpp
@@ -1172,7 +1172,9 @@ ChannelRemapping *SciMusic::determineChannelMap() {
if (map->_freeVoices < neededVoices) {
// We only care for essential channels
if (prio > 0) {
+#ifdef DEBUG_REMAP
debug(" not enough voices; need %d, have %d. Skipping this channel.", neededVoices, map->_freeVoices);
+#endif
continue;
}
do {