mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-25 23:29:44 -06:00
[ARM] Fix an issue with the data offset in LoadStore operations. Thanks to PPSSPP.
This commit is contained in:
@ -801,7 +801,7 @@ void ARMXEmitter::WriteStoreOp(u32 Op, ARMReg Rt, ARMReg Rn, Operand2 Rm, bool R
|
|||||||
Data = abs(Temp);
|
Data = abs(Temp);
|
||||||
// The offset is encoded differently on this one.
|
// The offset is encoded differently on this one.
|
||||||
if (SpecialOp)
|
if (SpecialOp)
|
||||||
Data = (Data & 0xF0 << 4) | (Data & 0xF);
|
Data = ((Data & 0xF0) << 4) | (Data & 0xF);
|
||||||
if (Temp >= 0) Add = true;
|
if (Temp >= 0) Add = true;
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
Reference in New Issue
Block a user