mirror of
https://github.com/libretro/RetroArch.git
synced 2025-02-01 14:31:54 +00:00
flush the log file at every output
This commit is contained in:
parent
3479ba2dba
commit
4efb9eb645
@ -217,7 +217,8 @@ static INLINE void RARCH_LOG_V(const char *tag, const char *fmt, va_list ap)
|
||||
__android_log_vprint(prio, PROGRAM_NAME, fmt, ap);
|
||||
#else
|
||||
fprintf(LOG_FILE, "%s %s :: ", PROGRAM_NAME, tag ? tag : "[INFO]");
|
||||
vfprintf(LOG_FILE, fmt, ap);
|
||||
vfprintf(LOG_FILE, fmt, ap);
|
||||
fflush(LOG_FILE);
|
||||
#endif
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user