aboutsummaryrefslogtreecommitdiff
path: root/src/GPU2D.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/GPU2D.cpp')
-rw-r--r--src/GPU2D.cpp8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/GPU2D.cpp b/src/GPU2D.cpp
index eda3e32..9d616d3 100644
--- a/src/GPU2D.cpp
+++ b/src/GPU2D.cpp
@@ -21,6 +21,8 @@
#include "NDS.h"
#include "GPU.h"
+using Platform::Log;
+using Platform::LogLevel;
// notes on color conversion
//
@@ -218,7 +220,7 @@ u8 Unit::Read8(u32 addr)
case 0x04D: return 0;
}
- printf("unknown GPU read8 %08X\n", addr);
+ Log(LogLevel::Warn, "unknown GPU read8 %08X\n", addr);
return 0;
}
@@ -247,7 +249,7 @@ u16 Unit::Read16(u32 addr)
case 0x06C: return MasterBrightness;
}
- printf("unknown GPU read16 %08X\n", addr);
+ Log(LogLevel::Warn, "unknown GPU read16 %08X\n", addr);
return 0;
}
@@ -364,7 +366,7 @@ void Unit::Write8(u32 addr, u8 val)
return;
}
- printf("unknown GPU write8 %08X %02X\n", addr, val);
+ Log(LogLevel::Warn, "unknown GPU write8 %08X %02X\n", addr, val);
}
void Unit::Write16(u32 addr, u16 val)