mirror of
https://github.com/starr-dusT/yuzu-mainline
synced 2024-03-05 21:12:25 -08:00
video_core: Fix format specifiers warnings
This commit is contained in:
parent
5e3536f66f
commit
ba998b85a1
@ -290,7 +290,7 @@ static void WritePicaReg(u32 id, u32 value, u32 mask) {
|
|||||||
*(float*)srcdata;
|
*(float*)srcdata;
|
||||||
|
|
||||||
input.attr[i][comp] = float24::FromFloat32(srcval);
|
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,
|
comp, i, vertex, index,
|
||||||
attribute_config.GetPhysicalBaseAddress(),
|
attribute_config.GetPhysicalBaseAddress(),
|
||||||
vertex_attribute_sources[i] - base_address,
|
vertex_attribute_sources[i] - base_address,
|
||||||
|
@ -746,7 +746,8 @@ void JitCompiler::Compile_NextInstr(unsigned* offset) {
|
|||||||
((*this).*instr_func)(instr);
|
((*this).*instr_func)(instr);
|
||||||
} else {
|
} else {
|
||||||
// Unhandled instruction
|
// 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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user