[Scummvm-cvs-logs] CVS: scummvm/scumm script.cpp,1.155,1.156 resource.cpp,1.198,1.199

Max Horn fingolfin at users.sourceforge.net
Sun Apr 4 16:42:01 CEST 2004


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

Modified Files:
	script.cpp resource.cpp 
Log Message:
these debug() calls look as if they should be debugC() calls

Index: script.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/scumm/script.cpp,v
retrieving revision 1.155
retrieving revision 1.156
diff -u -d -r1.155 -r1.156
--- script.cpp	28 Mar 2004 22:06:38 -0000	1.155
+++ script.cpp	4 Apr 2004 23:29:09 -0000	1.156
@@ -460,7 +460,7 @@
 	else
 		copyprotbypassed = true;
 
-	debug(DEBUG_VARS, "readvar(%d)", var);
+	debugC(DEBUG_VARS, "readvar(%d)", var);
 
 	if (var & 0x2000 && !(_features & GF_NEW_OPCODES)) {
 		a = fetchScriptWord();

Index: resource.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/scumm/resource.cpp,v
retrieving revision 1.198
retrieving revision 1.199
diff -u -d -r1.198 -r1.199
--- resource.cpp	4 Apr 2004 12:36:50 -0000	1.198
+++ resource.cpp	4 Apr 2004 23:29:10 -0000	1.199
@@ -1734,7 +1734,7 @@
 
 	setResourceCounter(type, idx, 1);
 
-	debug(DEBUG_RESOURCE, "getResourceAddress(%s,%d) == %p", resTypeFromId(type), idx, ptr + sizeof(MemBlkHeader));
+	debugC(DEBUG_RESOURCE, "getResourceAddress(%s,%d) == %p", resTypeFromId(type), idx, ptr + sizeof(MemBlkHeader));
 	return ptr + sizeof(MemBlkHeader);
 }
 





More information about the Scummvm-git-logs mailing list