From a5264848c0a00292c74ff811cd5063f47d36a728 Mon Sep 17 00:00:00 2001 From: Alcaro Date: Fri, 18 Apr 2014 00:32:24 +0200 Subject: [PATCH] what the hell is the point of that? Beyond crashing if $PWD is unwritable, that is? --- src/fceu.c | 2 ++ 1 file changed, 2 insertions(+) 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); }