summaryrefslogtreecommitdiffstats
path: root/src/core/hw/gpu.cpp
diff options
context:
space:
mode:
authorSean <seanmaas27@gmail.com>2014-10-30 00:12:39 +0100
committerSean <seanmaas27@gmail.com>2014-10-30 01:26:15 +0100
commit9a012ff007df4187c84c01f4e48545d19bd1f918 (patch)
tree1eb367a264392ddf7422470a263b240ccacb4050 /src/core/hw/gpu.cpp
parentMerge pull request #151 from archshift/dyncom-enabled (diff)
downloadyuzu-9a012ff007df4187c84c01f4e48545d19bd1f918.tar
yuzu-9a012ff007df4187c84c01f4e48545d19bd1f918.tar.gz
yuzu-9a012ff007df4187c84c01f4e48545d19bd1f918.tar.bz2
yuzu-9a012ff007df4187c84c01f4e48545d19bd1f918.tar.lz
yuzu-9a012ff007df4187c84c01f4e48545d19bd1f918.tar.xz
yuzu-9a012ff007df4187c84c01f4e48545d19bd1f918.tar.zst
yuzu-9a012ff007df4187c84c01f4e48545d19bd1f918.zip
Diffstat (limited to 'src/core/hw/gpu.cpp')
-rw-r--r--src/core/hw/gpu.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/hw/gpu.cpp b/src/core/hw/gpu.cpp
index 76dbe3fdc..14d3ee828 100644
--- a/src/core/hw/gpu.cpp
+++ b/src/core/hw/gpu.cpp
@@ -35,7 +35,7 @@ inline void Read(T &var, const u32 raw_addr) {
// Reads other than u32 are untested, so I'd rather have them abort than silently fail
if (index >= Regs::NumIds() || !std::is_same<T,u32>::value) {
- ERROR_LOG(GPU, "unknown Read%d @ 0x%08X", sizeof(var) * 8, addr);
+ ERROR_LOG(GPU, "unknown Read%lu @ 0x%08X", sizeof(var) * 8, addr);
return;
}
@@ -49,7 +49,7 @@ inline void Write(u32 addr, const T data) {
// Writes other than u32 are untested, so I'd rather have them abort than silently fail
if (index >= Regs::NumIds() || !std::is_same<T,u32>::value) {
- ERROR_LOG(GPU, "unknown Write%d 0x%08X @ 0x%08X", sizeof(data) * 8, data, addr);
+ ERROR_LOG(GPU, "unknown Write%lu 0x%08X @ 0x%08X", sizeof(data) * 8, data, addr);
return;
}