diff options
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")); } |