summaryrefslogtreecommitdiffstats
path: root/src/core/hw/gpu.cpp
diff options
context:
space:
mode:
authorvaguilar <victoraguilar90@gmail.com>2014-11-27 11:35:27 +0100
committervaguilar <victoraguilar90@gmail.com>2014-11-27 11:59:14 +0100
commit223e76d51dd4af9d3ff8b823ddb82a3ee9b2586a (patch)
treeeb02a8d87c8b4ee109e23efa4f9e1ab92cfdb13c /src/core/hw/gpu.cpp
parentMerge pull request #223 from linkmauve/remove-thread (diff)
downloadyuzu-223e76d51dd4af9d3ff8b823ddb82a3ee9b2586a.tar
yuzu-223e76d51dd4af9d3ff8b823ddb82a3ee9b2586a.tar.gz
yuzu-223e76d51dd4af9d3ff8b823ddb82a3ee9b2586a.tar.bz2
yuzu-223e76d51dd4af9d3ff8b823ddb82a3ee9b2586a.tar.lz
yuzu-223e76d51dd4af9d3ff8b823ddb82a3ee9b2586a.tar.xz
yuzu-223e76d51dd4af9d3ff8b823ddb82a3ee9b2586a.tar.zst
yuzu-223e76d51dd4af9d3ff8b823ddb82a3ee9b2586a.zip
Diffstat (limited to 'src/core/hw/gpu.cpp')
-rw-r--r--src/core/hw/gpu.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/core/hw/gpu.cpp b/src/core/hw/gpu.cpp
index 3ad801c63..af5e1b39b 100644
--- a/src/core/hw/gpu.cpp
+++ b/src/core/hw/gpu.cpp
@@ -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%lu 0x%08X @ 0x%08X", sizeof(data) * 8, data, addr);
+ ERROR_LOG(GPU, "unknown Write%lu 0x%08X @ 0x%08X", sizeof(data) * 8, (u32)data, addr);
return;
}
@@ -140,8 +140,8 @@ inline void Write(u32 addr, const T data) {
DEBUG_LOG(GPU, "DisplayTriggerTransfer: 0x%08x bytes from 0x%08x(%ux%u)-> 0x%08x(%ux%u), dst format %x",
config.output_height * config.output_width * 4,
- config.GetPhysicalInputAddress(), config.input_width, config.input_height,
- config.GetPhysicalOutputAddress(), config.output_width, config.output_height,
+ config.GetPhysicalInputAddress(), (u32)config.input_width, (u32)config.input_height,
+ config.GetPhysicalOutputAddress(), (u32)config.output_width, (u32)config.output_height,
config.output_format.Value());
}
break;