summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2018-06-06 00:38:25 +0200
committerbunnei <bunneidev@gmail.com>2018-06-06 05:58:06 +0200
commit566f97b580877f9a81631fdb45d4b866d6bb0eb9 (patch)
treeb14977ccb320c79de0b53eedec4b8939d390525e
parentMerge pull request #516 from Subv/f2i_r (diff)
downloadyuzu-566f97b580877f9a81631fdb45d4b866d6bb0eb9.tar
yuzu-566f97b580877f9a81631fdb45d4b866d6bb0eb9.tar.gz
yuzu-566f97b580877f9a81631fdb45d4b866d6bb0eb9.tar.bz2
yuzu-566f97b580877f9a81631fdb45d4b866d6bb0eb9.tar.lz
yuzu-566f97b580877f9a81631fdb45d4b866d6bb0eb9.tar.xz
yuzu-566f97b580877f9a81631fdb45d4b866d6bb0eb9.tar.zst
yuzu-566f97b580877f9a81631fdb45d4b866d6bb0eb9.zip
-rw-r--r--src/video_core/renderer_opengl/gl_shader_decompiler.cpp2
1 files changed, 1 insertions, 1 deletions
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) {