what the hell is the point of that? Beyond crashing if $PWD is unwritable, that is?
This commit is contained in:
@@ -460,9 +460,11 @@ void FCEU_printf(char *format, ...) {
|
|||||||
vsprintf(temp, format, ap);
|
vsprintf(temp, format, ap);
|
||||||
FCEUD_Message(temp);
|
FCEUD_Message(temp);
|
||||||
|
|
||||||
|
#ifndef __LIBRETRO__
|
||||||
ofile = fopen("stdout.txt", "ab");
|
ofile = fopen("stdout.txt", "ab");
|
||||||
fwrite(temp, 1, strlen(temp), ofile);
|
fwrite(temp, 1, strlen(temp), ofile);
|
||||||
fclose(ofile);
|
fclose(ofile);
|
||||||
|
#endif
|
||||||
|
|
||||||
va_end(ap);
|
va_end(ap);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user