[ARM] Fix an issue with the data offset in LoadStore operations. Thanks to PPSSPP.

This commit is contained in:
Ryan Houdek 2013-11-05 12:50:57 +00:00
parent 6cece6b486
commit 56685c396a

View File

@ -801,7 +801,7 @@ void ARMXEmitter::WriteStoreOp(u32 Op, ARMReg Rt, ARMReg Rn, Operand2 Rm, bool R
Data = abs(Temp);
// The offset is encoded differently on this one.
if (SpecialOp)
Data = (Data & 0xF0 << 4) | (Data & 0xF);
Data = ((Data & 0xF0) << 4) | (Data & 0xF);
if (Temp >= 0) Add = true;
}
break;