[Scummvm-cvs-logs] CVS: scummvm/base gameDetector.cpp,1.7,1.8
James Brown
ender at users.sourceforge.net
Wed Oct 1 04:45:01 CEST 2003
- Previous message: [Scummvm-cvs-logs] CVS: scummvm/backends/sdl sdl-common.cpp,1.89,1.90 sdl-common.h,1.39,1.40
- Next message: [Scummvm-cvs-logs] CVS: residual matrix3.cpp,1.2,1.3 matrix3.h,1.2,1.3 matrix4.cpp,1.2,1.3 matrix4.h,1.2,1.3 model.cpp,1.9,1.10
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /cvsroot/scummvm/scummvm/base
In directory sc8-pr-cvs1:/tmp/cvs-serv20733/base
Modified Files:
gameDetector.cpp
Log Message:
Revert kirbens change on 05Sep. Setting debugmode with debuglevel 0 is deliberate and intended behavior (for enabling engine specific 'debug options' without debug messages)
Index: gameDetector.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/base/gameDetector.cpp,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -d -r1.7 -r1.8
--- gameDetector.cpp 1 Oct 2003 10:47:18 -0000 1.7
+++ gameDetector.cpp 1 Oct 2003 11:42:32 -0000 1.8
@@ -84,7 +84,7 @@
"\t-z - Display list of games\n"
"\n"
"\t-b<num> - Pass number to the boot script (boot param)\n"
- "\t-d[num] - Enable debug output (debug level [1])\n"
+ "\t-d[num] - Enable debug output (debug level [0])\n"
"\t-u - Dump scripts\n"
"\n"
"\t--platform= - Specify version of game (amiga,atari-st,macintosh)\n"
@@ -351,12 +351,14 @@
g_config->setInt("cdrom", _cdrom);
break;
case 'd':
+ _debugMode = true;
HANDLE_OPT_OPTION();
if (option != NULL)
_debugLevel = atoi(option);
if (_debugLevel) {
- _debugMode = true;
printf("Debuglevel (from command line): %d\n", _debugLevel);
+ } else {
+ printf("Debuglevel (from command line): 0 - Engine only\n");
}
break;
case 'e':
- Previous message: [Scummvm-cvs-logs] CVS: scummvm/backends/sdl sdl-common.cpp,1.89,1.90 sdl-common.h,1.39,1.40
- Next message: [Scummvm-cvs-logs] CVS: residual matrix3.cpp,1.2,1.3 matrix3.h,1.2,1.3 matrix4.cpp,1.2,1.3 matrix4.h,1.2,1.3 model.cpp,1.9,1.10
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the Scummvm-git-logs
mailing list