[Scummvm-cvs-logs] CVS: scummvm/base gameDetector.cpp,1.27,1.28 gameDetector.h,1.9,1.10

Max Horn fingolfin at users.sourceforge.net
Tue Oct 14 00:54:02 CEST 2003


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

Modified Files:
	gameDetector.cpp gameDetector.h 
Log Message:
fix debug mode 0

Index: gameDetector.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/base/gameDetector.cpp,v
retrieving revision 1.27
retrieving revision 1.28
diff -u -d -r1.27 -r1.28
--- gameDetector.cpp	14 Oct 2003 06:02:38 -0000	1.27
+++ gameDetector.cpp	14 Oct 2003 07:52:32 -0000	1.28
@@ -221,7 +221,6 @@
 	ConfMan.registerDefault("joystick_num", -1);
 	ConfMan.registerDefault("confirm_exit", false);
 
-	_debugMode = (ConfMan.getInt("debuglevel") >= 0);
 	_dumpScripts = false;
 	_midi_driver = MD_AUTO;
 
@@ -311,7 +310,6 @@
 				ConfMan.set("cdrom", (int)strtol(option, 0, 10));
 				break;
 			case 'd':
-				_debugMode = true;
 				HANDLE_OPT_OPTION();
 				if (option != NULL)
 					ConfMan.set("debuglevel", (int)strtol(option, 0, 10));
@@ -478,7 +476,6 @@
 void GameDetector::setTarget(const String &name) {
 	_targetName = name;
 	ConfMan.setActiveDomain(name);
-	_debugMode = (ConfMan.getInt("debuglevel") >= 0);
 }
 
 int GameDetector::parseGraphicsMode(const String &str) {

Index: gameDetector.h
===================================================================
RCS file: /cvsroot/scummvm/scummvm/base/gameDetector.h,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -d -r1.9 -r1.10
--- gameDetector.h	12 Oct 2003 18:40:08 -0000	1.9
+++ gameDetector.h	14 Oct 2003 07:52:32 -0000	1.10
@@ -106,7 +106,6 @@
 	GameSettings _game;
 	const Plugin *_plugin;
 	
-	bool _debugMode;
 	bool _dumpScripts;
 	bool _saveconfig;
 





More information about the Scummvm-git-logs mailing list