mirror of https://github.com/PCSX2/pcsx2.git
gsdx:windows: Fix console output when replaying dumps
This commit is contained in:
parent
cf4194fef7
commit
f1eff358da
|
@ -1043,9 +1043,11 @@ public:
|
|||
|
||||
SetConsoleWindowInfo(m_console, TRUE, &rect);
|
||||
|
||||
*stdout = *_fdopen(_open_osfhandle((long)m_console, _O_TEXT), "w");
|
||||
freopen("CONOUT$", "w", stdout);
|
||||
freopen("CONOUT$", "w", stderr);
|
||||
|
||||
setvbuf(stdout, NULL, _IONBF, 0);
|
||||
setvbuf(stdout, nullptr, _IONBF, 0);
|
||||
setvbuf(stderr, nullptr, _IONBF, 0);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue