From c3747fab5615ede222559a00501160773b82a2c2 Mon Sep 17 00:00:00 2001 From: Vaxry Date: Tue, 7 Oct 2025 01:44:03 +0100 Subject: hookSystem: fix anchoring in seekNewPageAddr() otherwise we might miss the chance to get an anchor --- src/debug/Log.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/debug/Log.cpp') diff --git a/src/debug/Log.cpp b/src/debug/Log.cpp index 8d84840e..e70617d3 100644 --- a/src/debug/Log.cpp +++ b/src/debug/Log.cpp @@ -71,6 +71,8 @@ void Debug::log(eLogLevel level, std::string str) { } // log it to the stdout too. - if (!m_disableStdout) + if (!m_disableStdout) { std::println("{}", ((m_coloredLogs && !**m_coloredLogs) ? str : coloredStr)); + std::fflush(stdout); + } } -- cgit v1.2.3