diff options
author | md5 | 2011-03-03 11:18:59 +0200 |
---|---|---|
committer | md5 | 2011-03-03 11:18:59 +0200 |
commit | 9af4453ee5fd078e58e061854f363c56d3913943 (patch) | |
tree | 220f7cd147d9d9eaecda162436323a1eb5a1acec /engines/sci | |
parent | 9d6ed4de3191702ab839c6cafec308dd449b3d1f (diff) | |
download | scummvm-rg350-9af4453ee5fd078e58e061854f363c56d3913943.tar.gz scummvm-rg350-9af4453ee5fd078e58e061854f363c56d3913943.tar.bz2 scummvm-rg350-9af4453ee5fd078e58e061854f363c56d3913943.zip |
SCI: Don't ignore SysEx messages at the driver level but warn instead
SysEx messages in the driver are usually the result of a bug which should
be investigated and not silently ignored
Diffstat (limited to 'engines/sci')
-rw-r--r-- | engines/sci/sound/drivers/adlib.cpp | 2 | ||||
-rw-r--r-- | engines/sci/sound/drivers/amigamac.cpp | 2 | ||||
-rw-r--r-- | engines/sci/sound/drivers/midi.cpp | 2 |
3 files changed, 0 insertions, 6 deletions
diff --git a/engines/sci/sound/drivers/adlib.cpp b/engines/sci/sound/drivers/adlib.cpp index 07a210cb06..65a8e2e3da 100644 --- a/engines/sci/sound/drivers/adlib.cpp +++ b/engines/sci/sound/drivers/adlib.cpp @@ -321,8 +321,6 @@ void MidiDriver_AdLib::send(uint32 b) { _channels[channel].pitchWheel = (op1 & 0x7f) | ((op2 & 0x7f) << 7); renewNotes(channel, true); break; - case 0xf0: // SysEx, ignore it - break; default: warning("ADLIB: Unknown event %02x", command); } diff --git a/engines/sci/sound/drivers/amigamac.cpp b/engines/sci/sound/drivers/amigamac.cpp index a095a05eb8..d64dfac23c 100644 --- a/engines/sci/sound/drivers/amigamac.cpp +++ b/engines/sci/sound/drivers/amigamac.cpp @@ -700,8 +700,6 @@ void MidiDriver_AmigaMac::send(uint32 b) { case 0xe0: pitchWheel(channel, (op2 << 7) | op1); break; - case 0xf0: // SysEx, ignore it - break; default: warning("Amiga/Mac driver: unknown event %02x", command); } diff --git a/engines/sci/sound/drivers/midi.cpp b/engines/sci/sound/drivers/midi.cpp index a9b3162505..d16655928e 100644 --- a/engines/sci/sound/drivers/midi.cpp +++ b/engines/sci/sound/drivers/midi.cpp @@ -356,8 +356,6 @@ void MidiPlayer_Midi::send(uint32 b) { case 0xe0: _driver->send(b); break; - case 0xf0: // SysEx, ignore it - break; default: warning("Ignoring MIDI event %02x", command); } |