[Scummvm-cvs-logs] CVS: scummvm/base gameDetector.cpp,1.25,1.26
Max Horn
fingolfin at users.sourceforge.net
Mon Oct 13 11:04:08 CEST 2003
Update of /cvsroot/scummvm/scummvm/base
In directory sc8-pr-cvs1:/tmp/cvs-serv30868
Modified Files:
gameDetector.cpp
Log Message:
set _debugMode to true if a non-zero debug level has been specified in the config
Index: gameDetector.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/base/gameDetector.cpp,v
retrieving revision 1.25
retrieving revision 1.26
diff -u -d -r1.25 -r1.26
--- gameDetector.cpp 12 Oct 2003 20:44:52 -0000 1.25
+++ gameDetector.cpp 13 Oct 2003 18:03:13 -0000 1.26
@@ -221,7 +221,7 @@
ConfMan.registerDefault("joystick_num", -1);
ConfMan.registerDefault("confirm_exit", false);
- _debugMode = false;
+ _debugMode = (ConfMan.getInt("debuglevel") > 0);
_dumpScripts = false;
_midi_driver = MD_AUTO;
@@ -478,6 +478,7 @@
void GameDetector::setTarget(const String &name) {
_targetName = name;
ConfMan.setActiveDomain(name);
+ _debugMode = (ConfMan.getInt("debuglevel") > 0);
}
int GameDetector::parseGraphicsMode(const String &str) {
More information about the Scummvm-git-logs
mailing list