diff options
Diffstat (limited to 'engines/sci/engine')
-rw-r--r-- | engines/sci/engine/kmisc.cpp | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/engines/sci/engine/kmisc.cpp b/engines/sci/engine/kmisc.cpp index d4ca3286e2..6b5aca4503 100644 --- a/engines/sci/engine/kmisc.cpp +++ b/engines/sci/engine/kmisc.cpp @@ -176,9 +176,12 @@ reg_t kFlushResources(EngineState *s, int argc, reg_t *argv) { } reg_t kSetDebug(EngineState *s, int argc, reg_t *argv) { - debug("Debug mode activated"); + if (g_sci->getGameId() != GID_GK1) { + debug("Debug mode activated"); + + g_sci->getDebugger()->attach(); + } - g_sci->getDebugger()->attach(); return s->r_acc; } |