Moved mario global state vars in to struct
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
#pragma once
|
||||
|
||||
#include "libsm64.h"
|
||||
|
||||
extern SM64DebugPrintFunctionPtr g_debug_print_func;
|
||||
|
||||
#define DEBUG_PRINT( ... ) do { \
|
||||
if( g_debug_print_func ) { \
|
||||
char debugStr[1024]; \
|
||||
sprintf( debugStr, __VA_ARGS__ ); \
|
||||
g_debug_print_func( debugStr ); \
|
||||
} \
|
||||
} while(0)
|
||||
Reference in New Issue
Block a user