VERY experimental Nintendo Switch 2 emulator
C++
shader: Format string must be provided inline and not as a variable
Sam Spilsbury3d9c27ec5fdc
diff --git a/src/video_core/shader/shader_jit_x64.cpp b/src/video_core/shader/shader_jit_x64.cppindex b47d3beda6..d5a6a349cd 100644--- a/src/video_core/shader/shader_jit_x64.cpp+++ b/src/video_core/shader/shader_jit_x64.cpp@@ -148,7 +148,7 @@ static Instruction GetVertexShaderInstruction(size_t offset) {}static void LogCritical(const char* msg) {- LOG_CRITICAL(HW_GPU, msg);+ LOG_CRITICAL(HW_GPU, "%s", msg);}void JitShader::Compile_Assert(bool condition, const char* msg) {