diff options
author | Walter van Niftrik | 2009-08-11 12:57:51 +0000 |
---|---|---|
committer | Walter van Niftrik | 2009-08-11 12:57:51 +0000 |
commit | 353e9fb36a9677cb9cb38ce993df90fe8e152352 (patch) | |
tree | 2d09f0d6b68398eef8644d29a7121fd3c56ec953 /engines/sci/engine/scriptdebug.cpp | |
parent | c1c58769e44e4946dbe1c907cae6e920b1967540 (diff) | |
download | scummvm-rg350-353e9fb36a9677cb9cb38ce993df90fe8e152352.tar.gz scummvm-rg350-353e9fb36a9677cb9cb38ce993df90fe8e152352.tar.bz2 scummvm-rg350-353e9fb36a9677cb9cb38ce993df90fe8e152352.zip |
SCI: Turn off logging in debugger.
svn-id: r43268
Diffstat (limited to 'engines/sci/engine/scriptdebug.cpp')
-rw-r--r-- | engines/sci/engine/scriptdebug.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/engines/sci/engine/scriptdebug.cpp b/engines/sci/engine/scriptdebug.cpp index 11dd56f2aa..0341ecb73d 100644 --- a/engines/sci/engine/scriptdebug.cpp +++ b/engines/sci/engine/scriptdebug.cpp @@ -311,13 +311,15 @@ reg_t disassemble(EngineState *s, reg_t pos, int print_bw_tag, int print_bytecod 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) |