aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorPaul Gilbert2010-06-12 23:53:26 +0000
committerPaul Gilbert2010-06-12 23:53:26 +0000
commit2625c9b20be6ed4bef0fd8da600729a7316d7ac4 (patch)
tree9bcf66418ba3f5e4b36593c749b52e6f32efd1ba /engines
parent0492bd6aa65fa931bb84bb994f9e9e9757acc90a (diff)
downloadscummvm-rg350-2625c9b20be6ed4bef0fd8da600729a7316d7ac4.tar.gz
scummvm-rg350-2625c9b20be6ed4bef0fd8da600729a7316d7ac4.tar.bz2
scummvm-rg350-2625c9b20be6ed4bef0fd8da600729a7316d7ac4.zip
Applied fix for checking unallocated channels for All Notes Off MIDI command
svn-id: r49613
Diffstat (limited to 'engines')
-rw-r--r--engines/m4/midi.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/m4/midi.cpp b/engines/m4/midi.cpp
index 78fe0d6bd6..2c767fdf5a 100644
--- a/engines/m4/midi.cpp
+++ b/engines/m4/midi.cpp
@@ -109,7 +109,7 @@ void MidiPlayer::send(uint32 b) {
else if ((b & 0xFFF0) == 0x007BB0) {
//Only respond to All Notes Off if this channel
//has currently been allocated
- if (_channel[b & 0x0F])
+ if (!_channel[b & 0x0F])
return;
}