diff options
Diffstat (limited to 'common/debug.cpp')
-rw-r--r-- | common/debug.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/common/debug.cpp b/common/debug.cpp index 11b36e7d12..afdb794273 100644 --- a/common/debug.cpp +++ b/common/debug.cpp @@ -45,6 +45,13 @@ #define fflush(file) DS::std_fflush(file) #endif +#ifdef __N64__ + #include <n64utils.h> + + #define fputs(str, file) asm("nop"); + #define fflush(a) asm("nop"); + #define OutputDebugString addLineTextLayer +#endif // TODO: Move gDebugLevel into namespace Common. |