mirror of
https://github.com/libsm64/libsm64.git
synced 2025-01-22 15:43:11 -05:00
Print to stdout if no debug print fn provided
This commit is contained in:
parent
a167b38ba2
commit
54f979df93
1 changed files with 3 additions and 0 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue