diff options
author | Filippos Karapetis | 2010-01-03 15:59:43 +0000 |
---|---|---|
committer | Filippos Karapetis | 2010-01-03 15:59:43 +0000 |
commit | cf5e5f6c92b2eaa581c65999e60afb57b5ed6dff (patch) | |
tree | ff2e29e73b8a41f79a180bf040a4ab83b066217a | |
parent | d7f5f078b0c459eb907f315243d4bafe539aeeb8 (diff) | |
download | scummvm-rg350-cf5e5f6c92b2eaa581c65999e60afb57b5ed6dff.tar.gz scummvm-rg350-cf5e5f6c92b2eaa581c65999e60afb57b5ed6dff.tar.bz2 scummvm-rg350-cf5e5f6c92b2eaa581c65999e60afb57b5ed6dff.zip |
svn-id: r46928
-rw-r--r-- | engines/sci/sfx/midiparser.cpp | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/engines/sci/sfx/midiparser.cpp b/engines/sci/sfx/midiparser.cpp index c041499771..c2c50c7627 100644 --- a/engines/sci/sfx/midiparser.cpp +++ b/engines/sci/sfx/midiparser.cpp @@ -167,10 +167,13 @@ void MidiParser_SCI::parseNextEvent(EventInfo &info) { } break; case 0x01: // mod wheel + case 0x04: // foot controller case 0x07: // channel volume case 0x0A: // pan - case 0x40: // hold pedal + case 0x0B: // expression + case 0x40: // sustain case 0x4E: // velocity control + case 0x79: // reset all case 0x7B: // notes off // These are all handled by the music driver, so ignore them break; @@ -178,6 +181,12 @@ void MidiParser_SCI::parseNextEvent(EventInfo &info) { // TODO: is any support for this needed at the MIDI parser level? warning("Unhanded SCI MIDI command 0x%x - voice mapping (parameter %d)", info.basic.param1, info.basic.param2); break; + case 0x46: // LSL3 - binoculars + case 0x61: // Iceman (Adlib?) + case 0x73: // Hoyle + case 0xd1: // KQ4, when riding the unicorn + // Obscure SCI commands - ignored + break; default: warning("Unhandled SCI MIDI command 0x%x (parameter %d)", info.basic.param1, info.basic.param2); break; |