From 566f97b580877f9a81631fdb45d4b866d6bb0eb9 Mon Sep 17 00:00:00 2001 From: bunnei Date: Tue, 5 Jun 2018 18:38:25 -0400 Subject: gl_shader_decompiler: Fix un/signed mismatch with SHL. --- src/video_core/renderer_opengl/gl_shader_decompiler.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/video_core/renderer_opengl/gl_shader_decompiler.cpp b/src/video_core/renderer_opengl/gl_shader_decompiler.cpp index 4a41e7798..7a59ecccf 100644 --- a/src/video_core/renderer_opengl/gl_shader_decompiler.cpp +++ b/src/video_core/renderer_opengl/gl_shader_decompiler.cpp @@ -895,7 +895,7 @@ private: } case OpCode::Type::Shift: { - std::string op_a = regs.GetRegisterAsInteger(instr.gpr8, 0, false); + std::string op_a = regs.GetRegisterAsInteger(instr.gpr8, 0, true); std::string op_b; if (instr.is_b_imm) { -- cgit v1.2.3