Armjit: Re-enable reg shifts. Thanks [Unknown] for finding the issue.

This commit is contained in:
Sacha 2013-03-05 14:55:33 +10:00
parent 4641cf376f
commit 60b84e71d5

View File

@ -289,14 +289,13 @@ namespace MIPSComp
void Jit::CompShiftVar(u32 op, ArmGen::ShiftType shiftType)
{
// Breaks Wipeout Pure
DISABLE;
int rd = _RD;
int rt = _RT;
int rs = _RS;
if (gpr.IsImm(rs))
{
int sa = gpr.GetImm(rs);
gpr.MapDirtyIn(rd, rt);
int sa = gpr.GetImm(rs) & 0x1F;
MOV(gpr.R(rd), Operand2(sa, shiftType, gpr.R(rt)));
return;
}