From 3d38a383bb8303492272861d08303122c7a2d48a Mon Sep 17 00:00:00 2001 From: Walter van Niftrik Date: Fri, 26 Nov 2010 14:35:28 +0000 Subject: SCI: Only filter channels for early SCI0, as GM currently uses all channels. svn-id: r54498 --- engines/sci/sound/drivers/midi.cpp | 6 ++++-- 1 file 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: -- cgit v1.2.3