diff options
author | Filippos Karapetis | 2010-06-27 21:29:35 +0000 |
---|---|---|
committer | Filippos Karapetis | 2010-06-27 21:29:35 +0000 |
commit | 1faebccce25ac422f65ab9616b9a7ecb647894a8 (patch) | |
tree | 01bfa9f14fe235931aae12b34d9009acb8e5b8eb /engines/sci/engine/scriptdebug.cpp | |
parent | 4a60ff409050e8f3da6065f2a44d78d31c4f34b9 (diff) | |
download | scummvm-rg350-1faebccce25ac422f65ab9616b9a7ecb647894a8.tar.gz scummvm-rg350-1faebccce25ac422f65ab9616b9a7ecb647894a8.tar.bz2 scummvm-rg350-1faebccce25ac422f65ab9616b9a7ecb647894a8.zip |
Cleanup, remove unused/obsolete code
svn-id: r50403
Diffstat (limited to 'engines/sci/engine/scriptdebug.cpp')
-rw-r--r-- | engines/sci/engine/scriptdebug.cpp | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/engines/sci/engine/scriptdebug.cpp b/engines/sci/engine/scriptdebug.cpp index b8a0987865..d730856332 100644 --- a/engines/sci/engine/scriptdebug.cpp +++ b/engines/sci/engine/scriptdebug.cpp @@ -278,23 +278,6 @@ reg_t disassemble(EngineState *s, reg_t pos, int print_bw_tag, int print_bytecod void script_debug(EngineState *s) { - // Do we support a separate console? - -#if 0 - if (sci_debug_flags & _DEBUG_FLAG_LOGGING) { - printf("%d: acc=%04x:%04x ", scriptStepCounter, PRINT_REG(s->r_acc)); - disassemble(s, s->xs->addr.pc, 0, 1); - if (s->seeking == kDebugSeekGlobal) - printf("Global %d (0x%x) = %04x:%04x\n", s->seekSpecial, - s->seekSpecial, PRINT_REG(s->script_000->_localsBlock->_locals[s->seekSpecial])); - } -#endif - -#if 0 - if (!g_debugState.debugging) - return; -#endif - if (g_debugState.seeking && !g_debugState.breakpointWasHit) { // Are we looking for something special? if (g_debugState.seeking == kDebugSeekStepOver) { // are we above seek-level? resume then |