summaryrefslogtreecommitdiffstats
path: root/src/video_core
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2015-09-02 14:45:01 +0200
committerbunnei <bunneidev@gmail.com>2015-09-02 14:45:01 +0200
commitd02c9c83f53ea6d3d1b48a754390c316cb697e0e (patch)
tree56b71527dd31b102d350f2f5f679c7bffce102a6 /src/video_core
parentMerge pull request #1072 from yuriks/GetSystemTick-advance-time (diff)
parentvideo_core: Fix format specifiers warnings (diff)
downloadyuzu-d02c9c83f53ea6d3d1b48a754390c316cb697e0e.tar
yuzu-d02c9c83f53ea6d3d1b48a754390c316cb697e0e.tar.gz
yuzu-d02c9c83f53ea6d3d1b48a754390c316cb697e0e.tar.bz2
yuzu-d02c9c83f53ea6d3d1b48a754390c316cb697e0e.tar.lz
yuzu-d02c9c83f53ea6d3d1b48a754390c316cb697e0e.tar.xz
yuzu-d02c9c83f53ea6d3d1b48a754390c316cb697e0e.tar.zst
yuzu-d02c9c83f53ea6d3d1b48a754390c316cb697e0e.zip
Diffstat (limited to 'src/video_core')
-rw-r--r--src/video_core/command_processor.cpp2
-rw-r--r--src/video_core/shader/shader_jit_x64.cpp3
2 files changed, 3 insertions, 2 deletions
diff --git a/src/video_core/command_processor.cpp b/src/video_core/command_processor.cpp
index 682be89ec..6e9cb2586 100644
--- a/src/video_core/command_processor.cpp
+++ b/src/video_core/command_processor.cpp
@@ -290,7 +290,7 @@ static void WritePicaReg(u32 id, u32 value, u32 mask) {
*(float*)srcdata;
input.attr[i][comp] = float24::FromFloat32(srcval);
- LOG_TRACE(HW_GPU, "Loaded component %x of attribute %x for vertex %x (index %x) from 0x%08x + 0x%08lx + 0x%04lx: %f",
+ LOG_TRACE(HW_GPU, "Loaded component %x of attribute %x for vertex %x (index %x) from 0x%08x + 0x%08x + 0x%04x: %f",
comp, i, vertex, index,
attribute_config.GetPhysicalBaseAddress(),
vertex_attribute_sources[i] - base_address,
diff --git a/src/video_core/shader/shader_jit_x64.cpp b/src/video_core/shader/shader_jit_x64.cpp
index c7b63a9b7..1039c8df4 100644
--- a/src/video_core/shader/shader_jit_x64.cpp
+++ b/src/video_core/shader/shader_jit_x64.cpp
@@ -746,7 +746,8 @@ void JitCompiler::Compile_NextInstr(unsigned* offset) {
((*this).*instr_func)(instr);
} else {
// Unhandled instruction
- LOG_CRITICAL(HW_GPU, "Unhandled instruction: 0x%02x (0x%08x)", instr.opcode.Value(), instr.hex);
+ LOG_CRITICAL(HW_GPU, "Unhandled instruction: 0x%02x (0x%08x)",
+ instr.opcode.Value().EffectiveOpCode(), instr.hex);
}
}