aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/engine/scriptdebug.cpp
diff options
context:
space:
mode:
authorFilippos Karapetis2010-06-27 21:29:35 +0000
committerFilippos Karapetis2010-06-27 21:29:35 +0000
commit1faebccce25ac422f65ab9616b9a7ecb647894a8 (patch)
tree01bfa9f14fe235931aae12b34d9009acb8e5b8eb /engines/sci/engine/scriptdebug.cpp
parent4a60ff409050e8f3da6065f2a44d78d31c4f34b9 (diff)
downloadscummvm-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.cpp17
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