Browse Source

disable stdio buffering

eden-orbis-ps4
lizzie 3 days ago
parent
commit
2ce622d943
  1. 5
      src/yuzu_cmd/yuzu.cpp

5
src/yuzu_cmd/yuzu.cpp

@ -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…
Cancel
Save