diff options
Diffstat (limited to 'src/boot/libu64/debug.c')
| -rw-r--r-- | src/boot/libu64/debug.c | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/src/boot/libu64/debug.c b/src/boot/libu64/debug.c index 69dec97d7..ae81bbfde 100644 --- a/src/boot/libu64/debug.c +++ b/src/boot/libu64/debug.c @@ -1,12 +1,9 @@ #include "global.h" #include "fault.h" -#if MM_VERSION < N64_US || DEBUG_FEATURES -#define DEBUG_PRINTF osSyncPrintf -#elif IDO_PRINTF_WORKAROUND -#define DEBUG_PRINTF(args) (void)0 -#else -#define DEBUG_PRINTF(format, ...) (void)0 +#if MM_VERSION < N64_US +#undef PRINTF +#define PRINTF osSyncPrintf #endif #if MM_VERSION < N64_US @@ -23,11 +20,11 @@ f32 LogUtils_CheckFloatRange(const char* exp, int line, const char* valueName, f NORETURN void _dbg_hungup(const char* file, int lineNum) { OSId threadId = osGetThreadId(NULL); - DEBUG_PRINTF("*** HungUp in thread %d, [%s:%d] ***\n", threadId, file, lineNum); + PRINTF("*** HungUp in thread %d, [%s:%d] ***\n", threadId, file, lineNum); Fault_AddHungupAndCrash(file, lineNum); } NORETURN void Reset(void) { - DEBUG_PRINTF("*** Reset ***\n"); + PRINTF("*** Reset ***\n"); Fault_AddHungupAndCrash("Reset", 0); } |
