Introduce always_log() that also logs on release build, and increase all the log buffers to 8192 bytes.

This commit is contained in:
OBattler
2025-08-09 15:01:08 +02:00
parent c5ecbd62fc
commit 38b1c190fa
2 changed files with 31 additions and 6 deletions

View File

@@ -201,6 +201,7 @@ extern void warning_ex(const char *fmt, va_list ap);
#endif
extern void pclog_toggle_suppr(void);
extern void pclog(const char *fmt, ...) __attribute__ ((format (printf, 1, 2)));
extern void always_log(const char *fmt, ...) __attribute__ ((format (printf, 1, 2)));
extern void fatal(const char *fmt, ...) __attribute__ ((format (printf, 1, 2)));
extern void warning(const char *fmt, ...) __attribute__ ((format (printf, 1, 2)));
extern void set_screen_size(int x, int y);