mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-04-02 11:01:50 -04:00
Merge pull request #926 from unknownbrackets/armjit-minor
Call GetImm() before Map* in case of overlap
This commit is contained in:
commit
5983925fc5
1 changed files with 1 additions and 1 deletions
|
@ -347,8 +347,8 @@ namespace MIPSComp
|
|||
int rs = _RS;
|
||||
if (gpr.IsImm(rs))
|
||||
{
|
||||
gpr.MapDirtyIn(rd, rt);
|
||||
int sa = gpr.GetImm(rs) & 0x1F;
|
||||
gpr.MapDirtyIn(rd, rt);
|
||||
MOV(gpr.R(rd), Operand2(gpr.R(rt), shiftType, sa));
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue