aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/sound/midiparser_sci.cpp
diff options
context:
space:
mode:
authorWillem Jan Palenstijn2014-10-19 11:34:14 +0200
committerWillem Jan Palenstijn2015-02-15 14:01:35 +0100
commit0aadd20aeaac1d241087e913a2bf8171bb0def68 (patch)
tree73f0040e67fa2bb331eec73b7b04ab5347beb1da /engines/sci/sound/midiparser_sci.cpp
parentb80e74af5dec7675a2bf4a3f51da8501518c2be2 (diff)
downloadscummvm-rg350-0aadd20aeaac1d241087e913a2bf8171bb0def68.tar.gz
scummvm-rg350-0aadd20aeaac1d241087e913a2bf8171bb0def68.tar.bz2
scummvm-rg350-0aadd20aeaac1d241087e913a2bf8171bb0def68.zip
SCI: Add debugging output
Diffstat (limited to 'engines/sci/sound/midiparser_sci.cpp')
-rw-r--r--engines/sci/sound/midiparser_sci.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/engines/sci/sound/midiparser_sci.cpp b/engines/sci/sound/midiparser_sci.cpp
index 7ee9cc9d28..7ebe47633a 100644
--- a/engines/sci/sound/midiparser_sci.cpp
+++ b/engines/sci/sound/midiparser_sci.cpp
@@ -487,6 +487,8 @@ void MidiParser_SCI::trackState(uint32 b) {
s._sustain = (op2 != 0);
break;
case 0x4B: // voices
+ if (s._voices != op2)
+ warning("Voice change (%d to %d) without remapping", s._voices, op2);
s._voices = op2;
_pSnd->_chan[channel]._voices = op2; // Also sync our MusicEntry
break;