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 committed 2016-01-26 09:18:15 +01:00
1 parent 75ec16fd72
commit f5d71352ca
1 file changed
+6
+6
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;
}