[Scummvm-cvs-logs] SF.net SVN: scummvm:[38283] scummvm/trunk/engines/groovie/debug.cpp

spookypeanut at users.sourceforge.net spookypeanut at users.sourceforge.net
Sun Feb 15 20:45:36 CET 2009


Revision: 38283
          http://scummvm.svn.sourceforge.net/scummvm/?rev=38283&view=rev
Author:   spookypeanut
Date:     2009-02-15 19:45:36 +0000 (Sun, 15 Feb 2009)

Log Message:
-----------
T7G: print out the current script pos in decimal too (to match ST's decomp's ;-)

Modified Paths:
--------------
    scummvm/trunk/engines/groovie/debug.cpp

Modified: scummvm/trunk/engines/groovie/debug.cpp
===================================================================
--- scummvm/trunk/engines/groovie/debug.cpp	2009-02-15 19:15:43 UTC (rev 38282)
+++ scummvm/trunk/engines/groovie/debug.cpp	2009-02-15 19:45:36 UTC (rev 38283)
@@ -78,7 +78,7 @@
 		int val = getNumber(argv[1]);
 		_script->_currentInstruction = val;
 	}
-	DebugPrintf("pc = 0x%04X\n", _script->_currentInstruction);
+	DebugPrintf("pc = 0x%04X (%d)\n", _script->_currentInstruction, _script->_currentInstruction);
 	return true;
 }
 


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.




More information about the Scummvm-git-logs mailing list