From ba998b85a1ba1e022b70008452e341a19c0242c6 Mon Sep 17 00:00:00 2001 From: aroulin Date: Wed, 2 Sep 2015 08:19:11 +0200 Subject: video_core: Fix format specifiers warnings --- src/video_core/command_processor.cpp | 2 +- src/video_core/shader/shader_jit_x64.cpp | 3 ++- 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); } } -- cgit v1.2.3