Add this for Wiiu debugging
This commit is contained in:
parent
0f1d0ebfa9
commit
8eb28eaae9
|
@ -907,7 +907,11 @@ bool config_file_write(config_file_t *conf, const char *path)
|
||||||
file = fopen(path, "w");
|
file = fopen(path, "w");
|
||||||
if (!file)
|
if (!file)
|
||||||
return false;
|
return false;
|
||||||
|
#ifdef WIIU
|
||||||
|
setvbuf(file, NULL, _IONBF, 0x4000);
|
||||||
|
#else
|
||||||
setvbuf(file, NULL, _IOFBF, 0x4000);
|
setvbuf(file, NULL, _IOFBF, 0x4000);
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
file = stdout;
|
file = stdout;
|
||||||
|
|
Loading…
Reference in New Issue