aboutsummaryrefslogtreecommitdiff
path: root/frontend
diff options
context:
space:
mode:
authornotaz2013-04-02 00:45:33 +0300
committernotaz2013-04-02 00:45:33 +0300
commitea12009c5dd07e7496f67c40cfe415b41f5850e8 (patch)
tree8dd2f8989c441da2b95f2058623d07b3bc8a3f3b /frontend
parentb09a1d34f7fa3f8cee6b24ac33e3d98efad7712f (diff)
downloadpcsx_rearmed-ea12009c5dd07e7496f67c40cfe415b41f5850e8.tar.gz
pcsx_rearmed-ea12009c5dd07e7496f67c40cfe415b41f5850e8.tar.bz2
pcsx_rearmed-ea12009c5dd07e7496f67c40cfe415b41f5850e8.zip
frontend: attempt basic ios logging
Diffstat (limited to 'frontend')
-rw-r--r--frontend/main.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/frontend/main.c b/frontend/main.c
index 09f6a1c..2cf5ee0 100644
--- a/frontend/main.c
+++ b/frontend/main.c
@@ -402,7 +402,14 @@ int emu_core_preinit(void)
// it may be redefined by -cfg on the command line
strcpy(cfgfile_basename, "pcsx.cfg");
+#ifdef IOS
+ emuLog = fopen("/User/Documents/pcsxr.log", "w");
+ if (emuLog == NULL)
+ emuLog = fopen("pcsxr.log", "w");
+ if (emuLog == NULL)
+#endif
emuLog = stdout;
+
SetIsoFile(NULL);
memset(&Config, 0, sizeof(Config));