Permalink
Browse files

IOS: Fix Closing Standard Output & Error Log File.

This is as per bug Trac #10656.
  • Loading branch information...
digitall committed Oct 6, 2018
1 parent 361fe6c commit 253e55660100a3d178227d00416844ba3007770b
Showing with 6 additions and 0 deletions.
  1. +6 −0 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);
}
}

0 comments on commit 253e556

Please sign in to comment.