Print to stdout if no debug print fn provided
This commit is contained in:
@@ -10,5 +10,8 @@ extern SM64DebugPrintFunctionPtr g_debug_print_func;
|
|||||||
char debugStr[1024]; \
|
char debugStr[1024]; \
|
||||||
sprintf( debugStr, __VA_ARGS__ ); \
|
sprintf( debugStr, __VA_ARGS__ ); \
|
||||||
g_debug_print_func( debugStr ); \
|
g_debug_print_func( debugStr ); \
|
||||||
|
} else { \
|
||||||
|
printf( __VA_ARGS__ ); \
|
||||||
|
printf( "\n" ); \
|
||||||
} \
|
} \
|
||||||
} while(0)
|
} while(0)
|
||||||
|
|||||||
Reference in New Issue
Block a user