[Scummvm-cvs-logs] CVS: scummvm/backends/wince wince-sdl.cpp,1.28,1.29

Max Horn fingolfin at users.sourceforge.net
Sat Apr 23 06:52:48 CEST 2005


Update of /cvsroot/scummvm/scummvm/backends/wince
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv6576/backends/wince

Modified Files:
	wince-sdl.cpp 
Log Message:
Simplified debuglevel handling:
 - it's only honored in the global level of the config file
 - all checks for it go through gDebugLevel now, which is made global
 - the '-d' switch is handled in a slightly saner and consistent way
 - removed 'debuglevel' from the config format documentation; we do
   not want to encourage the avarage user to use it


Index: wince-sdl.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/backends/wince/wince-sdl.cpp,v
retrieving revision 1.28
retrieving revision 1.29
diff -u -d -r1.28 -r1.29
--- wince-sdl.cpp	26 Mar 2005 13:24:53 -0000	1.28
+++ wince-sdl.cpp	23 Apr 2005 13:52:26 -0000	1.29
@@ -1660,7 +1660,7 @@
 void OSystem_WINCE3::quit() {
 	fclose(stdout_file);
 	fclose(stderr_file);
-	if (!ConfMan.hasKey("debuglevel")) {
+	if (gDebugLevel <= 0) {
 		DeleteFile(TEXT("\\scummvm_stdout.txt"));
 		DeleteFile(TEXT("\\scummvm_stderr.txt"));
 	}





More information about the Scummvm-git-logs mailing list