mirror of
https://github.com/eden-emulator/mirror.git
synced 2026-06-06 07:25:52 +08:00
disable stdio buffering
This commit is contained in:
parent
e21e99302b
commit
3a5c9989be
@ -186,6 +186,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…
Reference in New Issue
Block a user