Skip to content

Commit

Permalink
[ARM] Fix an issue with the data offset in LoadStore operations. Than…
Browse files Browse the repository at this point in the history
…ks to PPSSPP.
  • Loading branch information
Sonicadvance1 committed Nov 5, 2013
1 parent 6cece6b commit 56685c3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Source/Core/Common/Src/ArmEmitter.cpp
Expand Up @@ -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;
Expand Down

0 comments on commit 56685c3

Please sign in to comment.