diff options
author | Filippos Karapetis | 2010-11-23 15:47:54 +0000 |
---|---|---|
committer | Filippos Karapetis | 2010-11-23 15:47:54 +0000 |
commit | 23bd8a1c26cb949eefe21e1b3a0047b73075dae7 (patch) | |
tree | edb66256925a85d2bebcd6db5a897d64fd6a9b68 | |
parent | c140e43a35480d0a78dd85e99db94f2a61fb0cda (diff) | |
download | scummvm-rg350-23bd8a1c26cb949eefe21e1b3a0047b73075dae7.tar.gz scummvm-rg350-23bd8a1c26cb949eefe21e1b3a0047b73075dae7.tar.bz2 scummvm-rg350-23bd8a1c26cb949eefe21e1b3a0047b73075dae7.zip |
SCI: Ignore polyphonic/channel aftertouch (0xa0 / 0xd0) in the MIDI driver, like in the Adlib driver. SSCI doesn't handle these, so we shouldn't handle them either
svn-id: r54428
-rw-r--r-- | engines/sci/sound/drivers/midi.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/engines/sci/sound/drivers/midi.cpp b/engines/sci/sound/drivers/midi.cpp index 5a096d2be3..8d4da26103 100644 --- a/engines/sci/sound/drivers/midi.cpp +++ b/engines/sci/sound/drivers/midi.cpp @@ -335,6 +335,10 @@ void MidiPlayer_Midi::send(uint32 b) { case 0xc0: setPatch(channel, op1); break; + // The original MIDI driver from sierra ignores aftertouch completely, so should we + case 0xa0: // Polyphonic key pressure (aftertouch) + case 0xd0: // Channel pressure (aftertouch) + break; case 0xe0: _driver->send(b); break; |