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