Skip to content

VERY experimental Nintendo Switch 2 emulator

C++

log: updated GenericLog __attribute__ for newly added parameter

bunnei5cd922d1514e
diff --git a/src/common/log.h b/src/common/log.h
index 2543b51a8d..3518d4e1d6 100644
--- a/src/common/log.h
+++ b/src/common/log.h
@@ -89,7 +89,7 @@ enum LOG_LEVELS {
void GenericLog(LOGTYPES_LEVELS level, LOGTYPES_TYPE type, const char*file, int line,
const char* function, const char* fmt, ...)
#ifdef __GNUC__
- __attribute__((format(printf, 5, 6)))
+ __attribute__((format(printf, 6, 7)))
#endif
;