Merge pull request #1632 from FEX-Emu/skmp/flush-test-harness

TestHarnessRunner: Flush log on asserts
This commit is contained in:
Ryan Houdek 2022-03-21 12:50:43 -07:00 committed by GitHub
commit ebd0edbab7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -62,6 +62,9 @@ void MsgHandler(LogMan::DebugLevels Level, char const *Message) {
void AssertHandler(char const *Message) {
fmt::print("[ASSERT] {}\n", Message);
// make sure buffers are flushed
fflush(nullptr);
}
namespace {