[Scummvm-cvs-logs] CVS: scummvm/simon debugger.cpp,1.12,1.13
Max Horn
fingolfin at users.sourceforge.net
Mon Dec 27 13:55:02 CET 2004
- Previous message: [Scummvm-cvs-logs] CVS: scummvm/base engine.cpp,1.30,1.31 gameDetector.cpp,1.94,1.95 gameDetector.h,1.29,1.30 main.cpp,1.64,1.65
- Next message: [Scummvm-cvs-logs] CVS: scummvm TODO,1.206,1.207
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /cvsroot/scummvm/scummvm/simon
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv8383/simon
Modified Files:
debugger.cpp
Log Message:
Fix for bug #1091748 (DIG: Starting new games takes a long time); turns out querying the debuglevel from the config-manager very often is too slow
Index: debugger.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/simon/debugger.cpp,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -d -r1.12 -r1.13
--- debugger.cpp 25 Dec 2004 19:04:18 -0000 1.12
+++ debugger.cpp 27 Dec 2004 21:54:20 -0000 1.13
@@ -91,6 +91,7 @@
} else { // set level
int level = atoi(argv[1]);
ConfMan.set("debuglevel", level, Common::ConfigManager::kTransientDomain);
+ gDebugLevel = ConfMan.getInt("debuglevel");
if (level > 0 && level < 10) {
_vm->_debugMode = true;
DebugPrintf("Debug level set to level %d\n", level);
- Previous message: [Scummvm-cvs-logs] CVS: scummvm/base engine.cpp,1.30,1.31 gameDetector.cpp,1.94,1.95 gameDetector.h,1.29,1.30 main.cpp,1.64,1.65
- Next message: [Scummvm-cvs-logs] CVS: scummvm TODO,1.206,1.207
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the Scummvm-git-logs
mailing list