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.
This commit is contained in:
Willem Jan Palenstijn 2015-02-15 18:25:50 +01:00
parent db325695f4
commit 165a8c26b9

View file

@ -498,7 +498,7 @@ void MidiParser_SCI::trackState(uint32 b) {
case 0x4E: // mute case 0x4E: // mute
// This is channel mute only for sci1. // This is channel mute only for sci1.
// (It's velocity control for sci0, but we don't need state in sci0) // (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 // FIXME: mute is a level, not a bool, in some SCI versions
bool m = op2; bool m = op2;
if (_pSnd->_chan[channel]._mute != m) { if (_pSnd->_chan[channel]._mute != m) {