From 71507daf9d194d4ead107c634b1524f892fd184a Mon Sep 17 00:00:00 2001 From: Craftyawesome Date: Sun, 5 Jan 2025 20:18:59 -0500 Subject: [PATCH] disable flush for log writes speeds up addon loading, hopefully fine --- src/sdl/i_system.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/sdl/i_system.c b/src/sdl/i_system.c index 9f582c66..451e7667 100644 --- a/src/sdl/i_system.c +++ b/src/sdl/i_system.c @@ -728,7 +728,9 @@ void I_OutputMsg(const char *fmt, ...) if (logstream) { size_t d = fwrite(txt, len, 1, logstream); + #ifndef __SWITCH__ //too slow fflush(logstream); + #endif (void)d; } #endif