diff options
Diffstat (limited to 'engines/sci')
-rw-r--r-- | engines/sci/sfx/music.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/engines/sci/sfx/music.cpp b/engines/sci/sfx/music.cpp index db49cf11dd..21e1a6d98f 100644 --- a/engines/sci/sfx/music.cpp +++ b/engines/sci/sfx/music.cpp @@ -778,9 +778,7 @@ byte *MidiParser_SCI::midiFilterChannels(int channelMask) { lastCommand = 0; curChannel = 15; - //channelMask = 0xFFFF; - - while (channelData <= channelDataEnd) { + while (channelData < channelDataEnd) { curDelta = *channelData++; if (curDelta == 0xF8) { delta += 240; |