fix incorrect __VA_ARGS__ use in lusprintf version of osSyncPrintf (#5510)

This commit is contained in:
briaguya
2025-05-18 16:25:24 -04:00
committed by GitHub
parent ecad59e31f
commit 53566c9a73
+1 -1
View File
@@ -15,7 +15,7 @@ extern "C"
#include <soh/Enhancements/randomizer/randomizer_inf.h>
#if defined(INCLUDE_GAME_PRINTF) && defined(_DEBUG)
#define osSyncPrintf(fmt, ...) lusprintf(__FILE__, __LINE__, 0, fmt, __VA_ARGS__)
#define osSyncPrintf(fmt, ...) lusprintf(__FILE__, __LINE__, 0, fmt, ##__VA_ARGS__)
#else
#define osSyncPrintf(fmt, ...) osSyncPrintfUnused(fmt, ##__VA_ARGS__)
#endif