[Scummvm-cvs-logs] CVS: scummvm/scumm scummvm.cpp,2.444,2.445

Max Horn fingolfin at users.sourceforge.net
Tue Oct 14 00:53:06 CEST 2003


Update of /cvsroot/scummvm/scummvm/scumm
In directory sc8-pr-cvs1:/tmp/cvs-serv13228/scumm

Modified Files:
	scummvm.cpp 
Log Message:
fix debug mode 0

Index: scummvm.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/scumm/scummvm.cpp,v
retrieving revision 2.444
retrieving revision 2.445
diff -u -d -r2.444 -r2.445
--- scummvm.cpp	13 Oct 2003 18:10:08 -0000	2.444
+++ scummvm.cpp	14 Oct 2003 07:52:33 -0000	2.445
@@ -595,7 +595,7 @@
 	_debugger = new ScummDebugger(this);
 
 	// Read settings from the detector & config manager
-	_debugMode = detector->_debugMode;
+	_debugMode = ConfMan.hasKey("debuglevel");
 	_debugLevel = ConfMan.getInt("debuglevel");
 	_dumpScripts = detector->_dumpScripts;
 	_bootParam = ConfMan.getInt("boot_param");
@@ -887,7 +887,7 @@
 			VAR(VAR_VERSION) = 21;
 	
 		if (!((_features & GF_MACINTOSH) && (_version == 3))) {
-			// This is the for the Mac version of Indy3/Loom
+			// This is NOT for the Mac version of Indy3/Loom
 			VAR(VAR_DEBUGMODE) = _debugMode;
 		}
 	}
@@ -1272,7 +1272,7 @@
 		VAR(VAR_MOUSE_X) = _mouse.x;
 		VAR(VAR_MOUSE_Y) = _mouse.y;
 		if ((_features & GF_MACINTOSH) && (_version == 3))  {
-			// This is the for the Mac version of Indy3/Loom
+			// This is for the Mac version of Indy3/Loom
 			VAR(VAR_DEBUGMODE) = _debugMode;
 		}
 	}





More information about the Scummvm-git-logs mailing list