VERY experimental Nintendo Switch 2 emulator
C++
video_core: Fix format specifiers warnings
aroulin7019a4eaeb99
diff --git a/src/video_core/command_processor.cpp b/src/video_core/command_processor.cppindex 682be89ec5..6e9cb2586c 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.cppindex c7b63a9b76..1039c8df45 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);}}