[Scummvm-cvs-logs] CVS: scummvm/scumm imuse.cpp,2.42,2.43
Jamieson Christian
jamieson630 at users.sourceforge.net
Sat May 17 12:08:11 CEST 2003
Update of /cvsroot/scummvm/scummvm/scumm
In directory sc8-pr-cvs1:/tmp/cvs-serv15634/scummvm/scumm
Modified Files:
imuse.cpp
Log Message:
Fixed program change msgs being sent under Adlib
Index: imuse.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/scumm/imuse.cpp,v
retrieving revision 2.42
retrieving revision 2.43
diff -u -d -r2.42 -r2.43
--- imuse.cpp 17 May 2003 19:03:25 -0000 2.42
+++ imuse.cpp 17 May 2003 19:07:45 -0000 2.43
@@ -2127,7 +2127,8 @@
// 0 is a valid program number. MI2 tests show that in such
// cases, a regular program change message always seems to follow
// anyway.
- part->_instrument.program ((p[15] & 0x0F) << 4 | (p[16] & 0x0F), _mt32emulate);
+ if (_isGM)
+ part->_instrument.program ((p[15] & 0x0F) << 4 | (p[16] & 0x0F), _mt32emulate);
part->sendAll();
}
}
More information about the Scummvm-git-logs
mailing list