mirror of
https://git.eden-emu.dev/eden-emu/eden
synced 2026-10-29 10:03:01 +01:00
disable stdio buffering
This commit is contained in:
parent
25ff105c05
commit
bf98f8a96b
1 changed files with 5 additions and 0 deletions
|
|
@ -198,6 +198,11 @@ extern "C" SDL_AppResult SDL_AppInit(void **appstate, int argc, char **argv) {
|
||||||
freopen("CONOUT$", "wb", stderr);
|
freopen("CONOUT$", "wb", stderr);
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
#ifdef __OPENORBIS__
|
||||||
|
// May prevent spurious crashes on swap handlers...
|
||||||
|
setvbuf(stdout, nullptr, _IONBF, 0);
|
||||||
|
setvbuf(stderr, nullptr, _IONBF, 0);
|
||||||
|
#endif
|
||||||
|
|
||||||
Common::Log::Initialize();
|
Common::Log::Initialize();
|
||||||
Common::Log::SetColorConsoleBackendEnabled(true);
|
Common::Log::SetColorConsoleBackendEnabled(true);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue