aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/sound
diff options
context:
space:
mode:
authorWillem Jan Palenstijn2015-02-15 18:25:50 +0100
committerWillem Jan Palenstijn2015-02-15 18:28:57 +0100
commit165a8c26b9c47c056e679eb55ae9e73e15af2b14 (patch)
tree3ab880d21bcf937a35488772220a89f2397389c0 /engines/sci/sound
parentdb325695f42e2dec3163b9a371085d8561e5a42a (diff)
downloadscummvm-rg350-165a8c26b9c47c056e679eb55ae9e73e15af2b14.tar.gz
scummvm-rg350-165a8c26b9c47c056e679eb55ae9e73e15af2b14.tar.bz2
scummvm-rg350-165a8c26b9c47c056e679eb55ae9e73e15af2b14.zip
SCI: Fix version check for MIDI controller 4E
This is only supported since SCI1 middle, as verified with xmas1990, SCI1 mgoose, SQ4 floppy, LSL1, Jones floppy. Fixes missing sounds in Jones floppy.
Diffstat (limited to 'engines/sci/sound')
-rw-r--r--engines/sci/sound/midiparser_sci.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/sci/sound/midiparser_sci.cpp b/engines/sci/sound/midiparser_sci.cpp
index 25facacced..ed61a57729 100644
--- a/engines/sci/sound/midiparser_sci.cpp
+++ b/engines/sci/sound/midiparser_sci.cpp
@@ -498,7 +498,7 @@ void MidiParser_SCI::trackState(uint32 b) {
case 0x4E: // mute
// This is channel mute only for sci1.
// (It's velocity control for sci0, but we don't need state in sci0)
- if (_soundVersion >= SCI_VERSION_1_EARLY) {
+ if (_soundVersion > SCI_VERSION_1_EARLY) {
// FIXME: mute is a level, not a bool, in some SCI versions
bool m = op2;
if (_pSnd->_chan[channel]._mute != m) {