notaz.gp2x.de
/
pcsx_rearmed.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b09a1d3
)
frontend: attempt basic ios logging
author
notaz
<notasas@gmail.com>
Mon, 1 Apr 2013 21:45:33 +0000
(
00:45
+0300)
committer
notaz
<notasas@gmail.com>
Mon, 1 Apr 2013 21:45:33 +0000
(
00:45
+0300)
frontend/main.c
patch
|
blob
|
blame
|
history
diff --git
a/frontend/main.c
b/frontend/main.c
index
09f6a1c
..
2cf5ee0
100644
(file)
--- 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));