From 8fddaada1dd6dad2302eb153892257d2020883fc Mon Sep 17 00:00:00 2001 From: Max Horn Date: Sat, 23 Apr 2005 13:52:27 +0000 Subject: 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 svn-id: r17769 --- backends/wince/wince-sdl.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'backends/wince') diff --git a/backends/wince/wince-sdl.cpp b/backends/wince/wince-sdl.cpp index 5ed7362206..1562832847 100644 --- a/backends/wince/wince-sdl.cpp +++ b/backends/wince/wince-sdl.cpp @@ -1660,7 +1660,7 @@ bool OSystem_WINCE3::pollEvent(Event &event) { 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")); } -- cgit v1.2.3