diff options
-rw-r--r-- | backends/platform/ios7/ios7_osys_main.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/backends/platform/ios7/ios7_osys_main.cpp b/backends/platform/ios7/ios7_osys_main.cpp index 118ac22dae..9873c9f7b2 100644 --- a/backends/platform/ios7/ios7_osys_main.cpp +++ b/backends/platform/ios7/ios7_osys_main.cpp @@ -400,4 +400,10 @@ void iOS7_main(int argc, char **argv) { // Invoke the actual ScummVM main entry point: scummvm_main(argc, (const char *const *) argv); g_system->quit(); // TODO: Consider removing / replacing this! + + if (newfp != NULL) { + *stdout = NULL; + *stderr = NULL; + fclose(newfp); + } } |