[Scummvm-cvs-logs] CVS: tools descumm.cpp,1.93,1.94

Max Horn fingolfin at users.sourceforge.net
Fri Oct 1 16:46:04 CEST 2004


Update of /cvsroot/scummvm/tools
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv915

Modified Files:
	descumm.cpp 
Log Message:
Fixed V2 print opcode

Index: descumm.cpp
===================================================================
RCS file: /cvsroot/scummvm/tools/descumm.cpp,v
retrieving revision 1.93
retrieving revision 1.94
diff -u -d -r1.93 -r1.94
--- descumm.cpp	14 Aug 2004 19:49:43 -0000	1.93
+++ descumm.cpp	1 Oct 2004 23:40:15 -0000	1.94
@@ -2213,7 +2213,9 @@
 	case 0x14:
 	case 0x94:
 		// print
-		buf += sprintf(buf, "print(\"");
+		buf += sprintf(buf, "print(");
+		buf = get_var_or_byte(buf, (opcode & 0x80));
+		buf += sprintf(buf, ",\"");
 		do_decodeparsestring_v2(buf, opcode);
 		strcat(buf, "\")");
 		break;





More information about the Scummvm-git-logs mailing list