mirror of
https://github.com/libretro/RetroArch
synced 2025-03-02 19:13:34 +00:00
Make logs work for the PS2
This commit is contained in:
parent
282e688ee6
commit
5b7a71abd3
@ -118,9 +118,11 @@ void retro_main_log_file_init(const char *path)
|
||||
log_file_fp = (FILE*)fopen_utf8(path, "wb");
|
||||
log_file_initialized = true;
|
||||
|
||||
#if !defined(PS2)
|
||||
/* TODO: this is only useful for a few platforms, find which and add ifdef */
|
||||
log_file_buf = calloc(1, 0x4000);
|
||||
setvbuf(log_file_fp, (char*)log_file_buf, _IOFBF, 0x4000);
|
||||
#endif
|
||||
}
|
||||
|
||||
void retro_main_log_file_deinit(void)
|
||||
|
Loading…
x
Reference in New Issue
Block a user