[Scummvm-cvs-logs] SF.net SVN: scummvm:[49613] scummvm/trunk/engines/m4/midi.cpp
dreammaster at users.sourceforge.net
dreammaster at users.sourceforge.net
Sun Jun 13 01:53:26 CEST 2010
Revision: 49613
http://scummvm.svn.sourceforge.net/scummvm/?rev=49613&view=rev
Author: dreammaster
Date: 2010-06-12 23:53:26 +0000 (Sat, 12 Jun 2010)
Log Message:
-----------
Applied fix for checking unallocated channels for All Notes Off MIDI command
Modified Paths:
--------------
scummvm/trunk/engines/m4/midi.cpp
Modified: scummvm/trunk/engines/m4/midi.cpp
===================================================================
--- scummvm/trunk/engines/m4/midi.cpp 2010-06-12 21:45:46 UTC (rev 49612)
+++ scummvm/trunk/engines/m4/midi.cpp 2010-06-12 23:53:26 UTC (rev 49613)
@@ -109,7 +109,7 @@
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;
}
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the Scummvm-git-logs
mailing list