diff options
Diffstat (limited to 'src/AREngine.cpp')
-rw-r--r-- | src/AREngine.cpp | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/AREngine.cpp b/src/AREngine.cpp index 0605d28..06fbc6b 100644 --- a/src/AREngine.cpp +++ b/src/AREngine.cpp @@ -21,7 +21,10 @@ #include "NDS.h" #include "DSi.h" #include "AREngine.h" +#include "Platform.h" +using Platform::Log; +using Platform::LogLevel; namespace AREngine { @@ -271,7 +274,7 @@ void RunCheat(ARCode& arcode) // in practice could be used for a self-modifying AR code // could be implemented with some hackery, but, does anything even // use it?? - printf("AR: !! THE FUCKING C4000000 OPCODE. TELL ARISOTURA.\n"); + Log(LogLevel::Error, "AR: !! THE FUCKING C4000000 OPCODE. TELL ARISOTURA.\n"); return; case 0xC5: // count++ / IF (count & b.l) == b.h @@ -428,7 +431,7 @@ void RunCheat(ARCode& arcode) break; default: - printf("!! bad AR opcode %08X %08X\n", a, b); + Log(LogLevel::Warn, "!! bad AR opcode %08X %08X\n", a, b); return; } } |