[Scummvm-cvs-logs] CVS: scummvm/scumm scumm.cpp,1.461,1.462 debugger.cpp,1.146,1.147
Max Horn
fingolfin at users.sourceforge.net
Sun Apr 24 05:22:20 CEST 2005
- Previous message: [Scummvm-cvs-logs] CVS: scummvm/sword2 function.cpp,1.80,1.81 icons.cpp,1.42,1.43 logic.cpp,1.54,1.55 logic.h,1.43,1.44 mouse.cpp,1.72,1.73 mouse.h,1.19,1.20 sword2.cpp,1.140,1.141 speech.h,1.9,NONE
- Next message: [Scummvm-cvs-logs] CVS: scummvm/base main.cpp,1.76,1.77 gameDetector.cpp,1.113,1.114
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /cvsroot/scummvm/scummvm/scumm
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv30399/scumm
Modified Files:
scumm.cpp debugger.cpp
Log Message:
Changed the semantics of debug level 0 from off back to something more similiar to how it used to be (default debug level now is -1)
Index: scumm.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/scumm/scumm.cpp,v
retrieving revision 1.461
retrieving revision 1.462
diff -u -d -r1.461 -r1.462
--- scumm.cpp 24 Apr 2005 10:26:30 -0000 1.461
+++ scumm.cpp 24 Apr 2005 12:21:52 -0000 1.462
@@ -1058,7 +1058,7 @@
g_scumm = this;
// Read settings from the detector & config manager
- _debugMode = (gDebugLevel > 0);
+ _debugMode = (gDebugLevel >= 0);
_dumpScripts = detector->_dumpScripts;
_bootParam = ConfMan.getInt("boot_param");
Index: debugger.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/scumm/debugger.cpp,v
retrieving revision 1.146
retrieving revision 1.147
diff -u -d -r1.146 -r1.147
--- debugger.cpp 23 Apr 2005 13:52:27 -0000 1.146
+++ debugger.cpp 24 Apr 2005 12:21:52 -0000 1.147
@@ -596,10 +596,10 @@
DebugPrintf("Debugging is currently set at level %d\n", gDebugLevel);
} else { // set level
gDebugLevel = atoi(argv[1]);
- if (gDebugLevel > 0) {
+ if (gDebugLevel >= 0) {
_vm->_debugMode = true;
DebugPrintf("Debug level set to level %d\n", gDebugLevel);
- } else if (gDebugLevel == 0) {
+ } else if (gDebugLevel < 0) {
_vm->_debugMode = false;
DebugPrintf("Debugging is now disabled\n");
} else
- Previous message: [Scummvm-cvs-logs] CVS: scummvm/sword2 function.cpp,1.80,1.81 icons.cpp,1.42,1.43 logic.cpp,1.54,1.55 logic.h,1.43,1.44 mouse.cpp,1.72,1.73 mouse.h,1.19,1.20 sword2.cpp,1.140,1.141 speech.h,1.9,NONE
- Next message: [Scummvm-cvs-logs] CVS: scummvm/base main.cpp,1.76,1.77 gameDetector.cpp,1.113,1.114
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the Scummvm-git-logs
mailing list