mirror of
https://git.eden-emu.dev/eden-emu/eden
synced 2026-04-10 05:28:56 +02:00
disable stdio buffering
This commit is contained in:
parent
1eb481975f
commit
79e0f98a0c
1 changed files with 5 additions and 0 deletions
|
|
@ -185,6 +185,11 @@ int main(int argc, char** argv) {
|
|||
freopen("CONOUT$", "wb", stderr);
|
||||
}
|
||||
#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::SetColorConsoleBackendEnabled(true);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue