[Scummvm-cvs-logs] CVS: tools descumm6.cpp,1.45,1.46

Max Horn fingolfin at users.sourceforge.net
Mon Dec 23 07:12:02 CET 2002


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

Modified Files:
	descumm6.cpp 
Log Message:
boot script now should disassmble cleanly

Index: descumm6.cpp
===================================================================
RCS file: /cvsroot/scummvm/tools/descumm6.cpp,v
retrieving revision 1.45
retrieving revision 1.46
diff -u -d -r1.45 -r1.46
--- descumm6.cpp	23 Dec 2002 15:02:39 -0000	1.45
+++ descumm6.cpp	23 Dec 2002 15:11:12 -0000	1.46
@@ -1558,24 +1558,24 @@
 
 	case 0xAE:
 		ext("x" "verbOps\0"
-				"\x96|verbInit,"
+				"\x96p|verbInit,"
 				"\x97|verbNew,"
 				"\x98|verbDelete,"
-				"\x99|verbLoadString,"
+				"\x99s|verbLoadString,"
 				"\x9App|verbSetXY,"
 				"\x9B|verbOn,"
 				"\x9C|verbOff,"
-				"\x9D|verbSetColor,"
-				"\x9E|verbSetHiColor,"
+				"\x9Dp|verbSetColor,"
+				"\x9Ep|verbSetHiColor,"
 
-				"\xA0|verbSetDimColor,"
+				"\xA0p|verbSetDimColor,"
 				"\xA1|verbSetDim,"
-				"\xA2|verbSetKey,"
-				"\xA3|verbLoadImg,"
-				"\xA4|verbSetToString,"
+				"\xA2p|verbSetKey,"
+				"\xA3p|verbLoadImg,"
+				"\xA4p|verbSetToString,"
 				"\xA5|verbSetCenter,"
-				"\xA6|verbSetCharset,"
-				"\xA7|verbSetLineSpacing"
+				"\xA6p|verbSetCharset,"
+				"\xA7p|verbSetLineSpacing"
 				);
 		break;
 
@@ -2469,6 +2469,14 @@
 
 	printf("END\n");
 	printf("Stack count: %d\n", num_stack);
+	if (num_stack > 0) {
+		printf("Stack contents:\n");
+		while (num_stack) {
+			buf[0] = 0;
+			se_astext(pop(), buf);
+			printf("%s\n", buf);
+		}
+	}
 
 	free(memorg);
 





More information about the Scummvm-git-logs mailing list