pcsx2: avoid flushing issue with the test suite

Linux only as I don't know if windows suffers of the same issue.
This commit is contained in:
Gregory Hainaut 2016-01-26 09:15:56 +01:00
parent 75ec16fd72
commit f5d71352ca
1 changed files with 6 additions and 0 deletions

View File

@ -229,6 +229,12 @@ public:
{
ConsoleColorScope cs(conColor);
Console.WriteRaw( msg );
#ifdef __linux__
// Buffered output isn't compatible with the testsuite. The end of test
// doesn't always get flushed. Let's just flush all the output if EE/IOP
// print anything.
fflush(NULL);
#endif
return false;
}