aboutsummaryrefslogtreecommitdiff
path: root/engines/sci
diff options
context:
space:
mode:
authorFilippos Karapetis2009-12-25 16:20:40 +0000
committerFilippos Karapetis2009-12-25 16:20:40 +0000
commit86701f4019b754c94a8b10b4a32d0b4dbef5a60f (patch)
treed0715d1342e78090be8baf4eaa303b79d7e6b3f6 /engines/sci
parent09081ce128575d88f97d2cf926c20cd443bc91a8 (diff)
downloadscummvm-rg350-86701f4019b754c94a8b10b4a32d0b4dbef5a60f.tar.gz
scummvm-rg350-86701f4019b754c94a8b10b4a32d0b4dbef5a60f.tar.bz2
scummvm-rg350-86701f4019b754c94a8b10b4a32d0b4dbef5a60f.zip
Added a stub for signal 0xA0 (polyphonic key pressure - aftertouch)
svn-id: r46558
Diffstat (limited to 'engines/sci')
-rw-r--r--engines/sci/sfx/softseq/adlib.cpp6
1 files changed, 5 insertions, 1 deletions
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