aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engines/sci/sound/drivers/midi.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/engines/sci/sound/drivers/midi.cpp b/engines/sci/sound/drivers/midi.cpp
index 66ee013964..ed3a1e25d2 100644
--- a/engines/sci/sound/drivers/midi.cpp
+++ b/engines/sci/sound/drivers/midi.cpp
@@ -325,8 +325,10 @@ void MidiPlayer_Midi::send(uint32 b) {
// In early SCI0, we may also get events for AdLib rhythm channels.
// While an MT-32 would ignore those with the default channel mapping,
// we filter these out for the benefit of other MIDI devices.
- if (channel < 1 || channel > 9)
- return;
+ if (_version == SCI_VERSION_0_EARLY) {
+ if (channel < 1 || channel > 9)
+ return;
+ }
switch (command) {
case 0x80: