[Scummvm-cvs-logs] SF.net SVN: scummvm:[55386] scummvm/trunk/engines/sci/engine/kmisc.cpp
lskovlun at users.sourceforge.net
lskovlun at users.sourceforge.net
Fri Jan 21 20:33:37 CET 2011
Revision: 55386
http://scummvm.svn.sourceforge.net/scummvm/?rev=55386&view=rev
Author: lskovlun
Date: 2011-01-21 19:33:36 +0000 (Fri, 21 Jan 2011)
Log Message:
-----------
SCI: Fix GK1 breaking into the debugger when watching the intro
Modified Paths:
--------------
scummvm/trunk/engines/sci/engine/kmisc.cpp
Modified: scummvm/trunk/engines/sci/engine/kmisc.cpp
===================================================================
--- scummvm/trunk/engines/sci/engine/kmisc.cpp 2011-01-21 19:25:24 UTC (rev 55385)
+++ scummvm/trunk/engines/sci/engine/kmisc.cpp 2011-01-21 19:33:36 UTC (rev 55386)
@@ -176,9 +176,12 @@
}
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;
}
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