diff options
author | Nicolas Bacca | 2004-05-09 15:22:04 +0000 |
---|---|---|
committer | Nicolas Bacca | 2004-05-09 15:22:04 +0000 |
commit | 1bf82eb6244fcec178a444997f43d4e1b0185bca (patch) | |
tree | c125514e865886a25a3ed49f63f5f96a0d8a31e2 /backends | |
parent | d075856d5d47834daa27981bd6ea8f33ae928f64 (diff) | |
download | scummvm-rg350-1bf82eb6244fcec178a444997f43d4e1b0185bca.tar.gz scummvm-rg350-1bf82eb6244fcec178a444997f43d4e1b0185bca.tar.bz2 scummvm-rg350-1bf82eb6244fcec178a444997f43d4e1b0185bca.zip |
Do not delete pseudo stdout/stderr if debugging was requested
svn-id: r13829
Diffstat (limited to 'backends')
-rw-r--r-- | backends/wince/wince-sdl.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/backends/wince/wince-sdl.cpp b/backends/wince/wince-sdl.cpp index 1596486b88..ae216334cd 100644 --- a/backends/wince/wince-sdl.cpp +++ b/backends/wince/wince-sdl.cpp @@ -1294,7 +1294,9 @@ bool OSystem_WINCE3::poll_event(Event *event) { void OSystem_WINCE3::quit() { fclose(stdout_file); fclose(stderr_file); - DeleteFile(TEXT("\\scummvm_stdout.txt")); - DeleteFile(TEXT("\\scummvm_stderr.txt")); + if (!ConfMan.hasKey("debuglevel")) { + DeleteFile(TEXT("\\scummvm_stdout.txt")); + DeleteFile(TEXT("\\scummvm_stderr.txt")); + } OSystem_SDL::quit(); } |