From 8eb28eaae90c88309136ac9fc4510a1324aee405 Mon Sep 17 00:00:00 2001 From: twinaphex Date: Fri, 29 Sep 2017 04:03:13 +0200 Subject: [PATCH] Add this for Wiiu debugging --- libretro-common/file/config_file.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/libretro-common/file/config_file.c b/libretro-common/file/config_file.c index 049358d7e4..78c5c12919 100644 --- a/libretro-common/file/config_file.c +++ b/libretro-common/file/config_file.c @@ -907,7 +907,11 @@ bool config_file_write(config_file_t *conf, const char *path) file = fopen(path, "w"); if (!file) return false; +#ifdef WIIU + setvbuf(file, NULL, _IONBF, 0x4000); +#else setvbuf(file, NULL, _IOFBF, 0x4000); +#endif } else file = stdout;