Merge pull request #531 from bunnei/fix-shl

gl_shader_decompiler: Fix un/signed mismatch with SHL.
This commit is contained in:
Sebastian Valle 2018-06-06 08:28:42 -05:00 committed by GitHub
commit ce026332a5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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) {