diff --git a/verbosity.c b/verbosity.c index 42a79f4977..9db900e8e4 100644 --- a/verbosity.c +++ b/verbosity.c @@ -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)