mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-30 17:53:42 +01:00
Call GEtImm() before Map* in case of overlap.
This commit is contained in:
1 parent
b77d965e56
commit
a589361b82
1 file changed
+1
-1
@@ -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;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user