X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?p=pcsx_rearmed.git;a=blobdiff_plain;f=frontend%2Fmain.c;fp=frontend%2Fmain.c;h=2cf5ee0bc56dc24ecb812d3cbefe349b9ef2b378;hp=09f6a1ccf6bd2fa0b4eed5b308848033d82b296f;hb=ea12009c5dd07e7496f67c40cfe415b41f5850e8;hpb=b09a1d34f7fa3f8cee6b24ac33e3d98efad7712f diff --git a/frontend/main.c b/frontend/main.c index 09f6a1cc..2cf5ee0b 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));