[Scummvm-cvs-logs] CVS: scummvm/scumm imuse.cpp,1.9,1.10
Jean-Yves Simon
lethalwp at users.sourceforge.net
Sun Sep 8 22:04:03 CEST 2002
- Previous message: [Scummvm-cvs-logs] CVS: scummvm Makefile,1.7,1.8
- Next message: [Scummvm-cvs-logs] CVS: tools descumm3.dsp,NONE,1.1 descumm5.dsp,NONE,1.1 descumm6.dsp,NONE,1.1 extract.dsp,NONE,1.1 rescumm.dsp,NONE,1.1 tools.dsw,NONE,1.1 descumm6.cpp,1.6,1.7 extract.c,1.12,1.13
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /cvsroot/scummvm/scummvm/scumm
In directory usw-pr-cvs1:/tmp/cvs-serv3271/scummvm/scumm
Modified Files:
imuse.cpp
Log Message:
patch attempts to fix the MI2 music bug pointed out in bug report #551028
Index: imuse.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/scumm/imuse.cpp,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -d -r1.9 -r1.10
--- imuse.cpp 8 Sep 2002 01:08:12 -0000 1.9
+++ imuse.cpp 9 Sep 2002 05:03:55 -0000 1.10
@@ -2061,6 +2061,16 @@
len -= 2;
switch (code = *p++) {
+ case 0: /* part on/off? */
+ // This seems to do the right thing for Monkey 2, at least.
+ a = *p++ & 0x0F;
+ part = get_part(a);
+ if (part) {
+ debug(2, "%d => turning %s part %d", p[1], (p[1] == 2) ? "OFF" : "ON", a);
+ part->set_onoff(p[1] != 2);
+ }
+ break;
+
case 16: /* set instrument in part */
a = *p++ & 0x0F;
if (_se->_hardware_type != *p++)
- Previous message: [Scummvm-cvs-logs] CVS: scummvm Makefile,1.7,1.8
- Next message: [Scummvm-cvs-logs] CVS: tools descumm3.dsp,NONE,1.1 descumm5.dsp,NONE,1.1 descumm6.dsp,NONE,1.1 extract.dsp,NONE,1.1 rescumm.dsp,NONE,1.1 tools.dsw,NONE,1.1 descumm6.cpp,1.6,1.7 extract.c,1.12,1.13
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the Scummvm-git-logs
mailing list