diff options
| author | briaguya <70942617+briaguya-ai@users.noreply.github.com> | 2025-05-18 16:25:24 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-05-18 16:25:24 -0400 |
| commit | 53566c9a73a3f176824547af2f940085e5f425ae (patch) | |
| tree | 39bdd1ea2ff0caae5bbd9eb756fb5509b2b1051f | |
| parent | ecad59e31fe134dea65f8da7b160b17692276011 (diff) | |
fix incorrect `__VA_ARGS__` use in `lusprintf` version of `osSyncPrintf` (#5510)
| -rw-r--r-- | soh/include/functions.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/soh/include/functions.h b/soh/include/functions.h index 86e3bf77f..f29153a9c 100644 --- a/soh/include/functions.h +++ b/soh/include/functions.h @@ -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 |
