coreinit: Flush logs when forwarding (#1965)

This commit is contained in:
Cynthia Coan 2026-06-25 08:26:41 -07:00 committed by GitHub
parent 53a74e44df
commit 1c7fbafb00
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -561,6 +561,7 @@ namespace coreinit
if (s_forwardConsoleLogs) { if (s_forwardConsoleLogs) {
if (cafeLogType == CafeLogType::OSCONSOLE) { if (cafeLogType == CafeLogType::OSCONSOLE) {
fwrite(msg, 1, len, stdout); fwrite(msg, 1, len, stdout);
fflush(stdout);
} else { } else {
fwrite(msg, 1, len, stderr); fwrite(msg, 1, len, stderr);
} }