diff options
author | Max Horn | 2005-04-23 13:52:27 +0000 |
---|---|---|
committer | Max Horn | 2005-04-23 13:52:27 +0000 |
commit | 8fddaada1dd6dad2302eb153892257d2020883fc (patch) | |
tree | 48f22984e2df39ad352d3306a591bff053e4df3e /backends/wince | |
parent | e70c98fa22c193dd5077a21729771aa440edd106 (diff) | |
download | scummvm-rg350-8fddaada1dd6dad2302eb153892257d2020883fc.tar.gz scummvm-rg350-8fddaada1dd6dad2302eb153892257d2020883fc.tar.bz2 scummvm-rg350-8fddaada1dd6dad2302eb153892257d2020883fc.zip |
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
Diffstat (limited to 'backends/wince')
-rw-r--r-- | backends/wince/wince-sdl.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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")); } |