summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorSebastian Valle <subv2112@gmail.com>2018-06-06 15:28:42 +0200
committerGitHub <noreply@github.com>2018-06-06 15:28:42 +0200
commitce026332a55abf379bb26c004a763da8e5ba2666 (patch)
tree8fc2879d61f9bc5cdfca8d27d51bf681431cb5cc /src
parentMerge pull request #530 from bunnei/wrap-mirror (diff)
parentgl_shader_decompiler: Fix un/signed mismatch with SHL. (diff)
downloadyuzu-ce026332a55abf379bb26c004a763da8e5ba2666.tar
yuzu-ce026332a55abf379bb26c004a763da8e5ba2666.tar.gz
yuzu-ce026332a55abf379bb26c004a763da8e5ba2666.tar.bz2
yuzu-ce026332a55abf379bb26c004a763da8e5ba2666.tar.lz
yuzu-ce026332a55abf379bb26c004a763da8e5ba2666.tar.xz
yuzu-ce026332a55abf379bb26c004a763da8e5ba2666.tar.zst
yuzu-ce026332a55abf379bb26c004a763da8e5ba2666.zip
Diffstat (limited to 'src')
-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) {