[Scummvm-cvs-logs] SF.net SVN: scummvm:[43268] scummvm/trunk/engines/sci/engine/scriptdebug. cpp
waltervn at users.sourceforge.net
waltervn at users.sourceforge.net
Tue Aug 11 14:57:51 CEST 2009
Revision: 43268
http://scummvm.svn.sourceforge.net/scummvm/?rev=43268&view=rev
Author: waltervn
Date: 2009-08-11 12:57:51 +0000 (Tue, 11 Aug 2009)
Log Message:
-----------
SCI: Turn off logging in debugger.
Modified Paths:
--------------
scummvm/trunk/engines/sci/engine/scriptdebug.cpp
Modified: scummvm/trunk/engines/sci/engine/scriptdebug.cpp
===================================================================
--- scummvm/trunk/engines/sci/engine/scriptdebug.cpp 2009-08-11 10:52:39 UTC (rev 43267)
+++ scummvm/trunk/engines/sci/engine/scriptdebug.cpp 2009-08-11 12:57:51 UTC (rev 43268)
@@ -311,13 +311,15 @@
void script_debug(EngineState *s, bool bp) {
// Do we support a separate console?
- /* if (sci_debug_flags & _DEBUG_FLAG_LOGGING) { */
+#if 0
+ if (sci_debug_flags & _DEBUG_FLAG_LOGGING) {
printf("%d: acc=%04x:%04x ", script_step_counter, PRINT_REG(s->r_acc));
disassemble(s, scriptState.xs->addr.pc, 0, 1);
if (scriptState.seeking == kDebugSeekGlobal)
printf("Global %d (0x%x) = %04x:%04x\n", scriptState.seekSpecial,
scriptState.seekSpecial, PRINT_REG(s->script_000->locals_block->_locals[scriptState.seekSpecial]));
- /* } */
+ }
+#endif
#if 0
if (!scriptState.debugging)
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