diff options
Diffstat (limited to 'engines/sci/sound')
-rw-r--r-- | engines/sci/sound/midiparser_sci.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/engines/sci/sound/midiparser_sci.cpp b/engines/sci/sound/midiparser_sci.cpp index d53f919f8f..abd3894d9a 100644 --- a/engines/sci/sound/midiparser_sci.cpp +++ b/engines/sci/sound/midiparser_sci.cpp @@ -653,8 +653,10 @@ void MidiParser_SCI::allNotesOff() { // support this...). for (i = 0; i < 16; ++i) { - if (_channelRemap[i] != -1) + if (_channelRemap[i] != -1) { sendToDriver(0xB0 | i, 0x7b, 0); // All notes off + sendToDriver(0xB0 | i, 0x40, 0); // Also send a sustain off event (bug #3116608) + } } memset(_active_notes, 0, sizeof(_active_notes)); |