[Scummvm-cvs-logs] SF.net SVN: scummvm:[55391] scummvm/trunk/engines/sci/engine/kmisc.cpp

lskovlun at users.sourceforge.net lskovlun at users.sourceforge.net
Fri Jan 21 20:56:24 CET 2011


Revision: 55391
          http://scummvm.svn.sourceforge.net/scummvm/?rev=55391&view=rev
Author:   lskovlun
Date:     2011-01-21 19:56:23 +0000 (Fri, 21 Jan 2011)

Log Message:
-----------
SCI: Add comment for GK1 workaround.

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:52:52 UTC (rev 55390)
+++ scummvm/trunk/engines/sci/engine/kmisc.cpp	2011-01-21 19:56:23 UTC (rev 55391)
@@ -176,6 +176,11 @@
 }
 
 reg_t kSetDebug(EngineState *s, int argc, reg_t *argv) {
+	// WORKAROUND: For some reason, GK1 calls this unconditionally when
+	// watching the intro. Older (SCI0) games call it on room change if
+	// a flag is set, in which case the debugger SHOULD get activated.
+	// Therefore, don't break into the debugger in GK1, but do so elsewhere.
+
 	if (g_sci->getGameId() != GID_GK1) {
 		debug("Debug mode activated");
 		


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