diff options
author | Walter van Niftrik | 2010-11-26 14:35:28 +0000 |
---|---|---|
committer | Walter van Niftrik | 2010-11-26 14:35:28 +0000 |
commit | 3d38a383bb8303492272861d08303122c7a2d48a (patch) | |
tree | 28cfb5b4de857e4d33fc039fe444d6d565009369 | |
parent | 21c6bbde5df290d02bb3275e22abfc7d151e8099 (diff) | |
download | scummvm-rg350-3d38a383bb8303492272861d08303122c7a2d48a.tar.gz scummvm-rg350-3d38a383bb8303492272861d08303122c7a2d48a.tar.bz2 scummvm-rg350-3d38a383bb8303492272861d08303122c7a2d48a.zip |
SCI: Only filter channels for early SCI0, as GM currently uses all channels.
svn-id: r54498
-rw-r--r-- | engines/sci/sound/drivers/midi.cpp | 6 |
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: |