Browse Source
Merge pull request #531 from bunnei/fix-shl
gl_shader_decompiler: Fix un/signed mismatch with SHL.
pull/15/merge
Sebastian Valle
8 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
src/video_core/renderer_opengl/gl_shader_decompiler.cpp
|
|
@ -895,7 +895,7 @@ private: |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
case OpCode::Type::Shift: { |
|
|
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; |
|
|
std::string op_b; |
|
|
|
|
|
|
|
|
if (instr.is_b_imm) { |
|
|
if (instr.is_b_imm) { |
|
|
|