Skip to content

Commit

Permalink
disable flush for log writes
Browse files Browse the repository at this point in the history
speeds up addon loading, hopefully fine
  • Loading branch information
Craftyawesome committed Jan 6, 2025
1 parent 0690712 commit 71507da
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/sdl/i_system.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 71507da

Please sign in to comment.