Print to stdout if no debug print fn provided

This commit is contained in:
jaburns 2021-08-16 14:55:25 -06:00
parent a167b38ba2
commit 54f979df93

View file

@ -10,5 +10,8 @@ extern SM64DebugPrintFunctionPtr g_debug_print_func;
char debugStr[1024]; \
sprintf( debugStr, __VA_ARGS__ ); \
g_debug_print_func( debugStr ); \
} else { \
printf( __VA_ARGS__ ); \
printf( "\n" ); \
} \
} while(0)