[ARM] Fix an issue with the data offset in LoadStore operations. Thanks to PPSSPP.
This commit is contained in:
parent
6cece6b486
commit
56685c396a
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue