From 86701f4019b754c94a8b10b4a32d0b4dbef5a60f Mon Sep 17 00:00:00 2001 From: Filippos Karapetis Date: Fri, 25 Dec 2009 16:20:40 +0000 Subject: Added a stub for signal 0xA0 (polyphonic key pressure - aftertouch) svn-id: r46558 --- engines/sci/sfx/softseq/adlib.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'engines/sci/sfx/softseq') diff --git a/engines/sci/sfx/softseq/adlib.cpp b/engines/sci/sfx/softseq/adlib.cpp index fda878e28b..fe765b6069 100644 --- a/engines/sci/sfx/softseq/adlib.cpp +++ b/engines/sci/sfx/softseq/adlib.cpp @@ -248,6 +248,7 @@ void MidiDriver_Adlib::setVolume(byte volume) { renewNotes(-1, true); } +// MIDI messages can be found at http://www.midi.org/techspecs/midimessages.php void MidiDriver_Adlib::send(uint32 b) { byte command = b & 0xf0; byte channel = b & 0xf; @@ -307,7 +308,10 @@ void MidiDriver_Adlib::send(uint32 b) { case 0xc0: _channels[channel].patch = op1; break; - case 0xd0: // Aftertouch + case 0xa0: // Polyphonic key pressure (aftertouch) + // Aftertouch in the OPL thing? + break; + case 0xd0: // Channel pressure (aftertouch) // Aftertouch in the OPL thing? break; case 0xf0: // SysEx, ignore it -- cgit v1.2.3