diff --git a/src/fceu.c b/src/fceu.c index 1b26ee9..3a92e59 100644 --- a/src/fceu.c +++ b/src/fceu.c @@ -460,9 +460,11 @@ void FCEU_printf(char *format, ...) { vsprintf(temp, format, ap); FCEUD_Message(temp); +#ifndef __LIBRETRO__ ofile = fopen("stdout.txt", "ab"); fwrite(temp, 1, strlen(temp), ofile); fclose(ofile); +#endif va_end(ap); }