mirror of
https://git.eden-emu.dev/eden-emu/eden
synced 2026-05-22 11:37:04 +02:00
disable stdio buffering
This commit is contained in:
parent
ac17c11f6d
commit
bbfac0d6c9
1 changed files with 5 additions and 0 deletions
|
|
@ -186,6 +186,11 @@ int main(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