1
0
Fork 0
mirror of https://github.com/zeldaret/oot.git synced 2024-11-10 19:20:13 +00:00

Use IDO_PRINTF_WORKAROUND everywhere (#1685)

This commit is contained in:
cadmic 2024-02-01 07:11:33 -08:00 committed by GitHub
parent 99fd784bc2
commit 7c5ab8fcec
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 2 additions and 4 deletions

View file

@ -56,8 +56,7 @@ OSTime sRDPTimeStart;
#define SCHED_DEBUG_PRINTF \ #define SCHED_DEBUG_PRINTF \
if (sSchedDebugPrintfEnabled) \ if (sSchedDebugPrintfEnabled) \
PRINTF PRINTF
#elif defined(__sgi) #elif IDO_PRINTF_WORKAROUND
// See comment about PRINTF in macros.h
#define SCHED_DEBUG_PRINTF(args) (void)0 #define SCHED_DEBUG_PRINTF(args) (void)0
#else #else
#define SCHED_DEBUG_PRINTF(format, ...) (void)0 #define SCHED_DEBUG_PRINTF(format, ...) (void)0

View file

@ -15,8 +15,7 @@ static s32 sCurCeilingBgId;
#define ACTOR_DEBUG_PRINTF \ #define ACTOR_DEBUG_PRINTF \
if (R_ENABLE_ACTOR_DEBUG_PRINTF) \ if (R_ENABLE_ACTOR_DEBUG_PRINTF) \
PRINTF PRINTF
#elif defined(__sgi) #elif IDO_PRINTF_WORKAROUND
// See comment about PRINTF in macros.h
#define ACTOR_DEBUG_PRINTF(args) (void)0 #define ACTOR_DEBUG_PRINTF(args) (void)0
#else #else
#define ACTOR_DEBUG_PRINTF(format, ...) (void)0 #define ACTOR_DEBUG_PRINTF(format, ...) (void)0