[Scummvm-cvs-logs] CVS: tools descumm.cpp,1.29,1.30

Max Horn fingolfin at users.sourceforge.net
Thu May 8 18:42:35 CEST 2003


Update of /cvsroot/scummvm/tools
In directory sc8-pr-cvs1:/tmp/cvs-serv4561

Modified Files:
	descumm.cpp 
Log Message:
fixed getBitVar / setBitVar

Index: descumm.cpp
===================================================================
RCS file: /cvsroot/scummvm/tools/descumm.cpp,v
retrieving revision 1.29
retrieving revision 1.30
diff -u -d -r1.29 -r1.30
--- descumm.cpp	9 May 2003 00:37:06 -0000	1.29
+++ descumm.cpp	9 May 2003 00:56:24 -0000	1.30
@@ -2051,7 +2051,7 @@
 	case 0x31:
 	case 0xB1:
 		// FIXME - maybe this could be displayed a bit nicer?
-		do_tok(buf, "getBitVar", AVARSTORE | A1B | A2B | ((opcode & 0x80) ? A3V : A3B));
+		do_tok(buf, "getBitVar", AVARSTORE | A1W | ((opcode & 0x80) ? A2V : A2B));
 		break;
 
 	case 0x1B:
@@ -2059,7 +2059,7 @@
 	case 0x9B:
 	case 0xDB:
 		// FIXME - maybe this could be displayed a bit nicer?
-		do_tok(buf, "setBitVar", AVARSTORE | A1B | A2B | ((opcode & 0x80) ? A3V : A3B) | ((opcode & 0x40) ? A4V : A4B));
+		do_tok(buf, "setBitVar", A1W | ((opcode & 0x80) ? A2V : A2B) | ((opcode & 0x40) ? A3V : A3B));
 		break;
 
 	case 0x66:





More information about the Scummvm-git-logs mailing list