From 54f979df93e5e4b869c0cb2818992da7176bf79b Mon Sep 17 00:00:00 2001 From: jaburns Date: Mon, 16 Aug 2021 14:55:25 -0600 Subject: [PATCH] Print to stdout if no debug print fn provided --- src/debug_print.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/debug_print.h b/src/debug_print.h index 987cc31..913ed42 100644 --- a/src/debug_print.h +++ b/src/debug_print.h @@ -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)