mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-02-14 00:09:24 +01:00
JitArm64: Fix lmw + stmw
This commit is contained in:
parent
955bef226e
commit
3ae466a33c
@ -579,13 +579,13 @@ void JitArm64::lmw(UGeckoInstruction inst)
|
||||
u16 remaining = off >> 12;
|
||||
if (add)
|
||||
{
|
||||
ADD(WA, WA, remaining, true);
|
||||
ADD(WA, gpr.R(a), off & 0xFFF);
|
||||
ADD(WA, WA, remaining, true);
|
||||
}
|
||||
else
|
||||
{
|
||||
SUB(WA, WA, remaining, true);
|
||||
SUB(WA, gpr.R(a), off & 0xFFF);
|
||||
SUB(WA, WA, remaining, true);
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -667,13 +667,13 @@ void JitArm64::stmw(UGeckoInstruction inst)
|
||||
u16 remaining = off >> 12;
|
||||
if (add)
|
||||
{
|
||||
ADD(WA, WA, remaining, true);
|
||||
ADD(WA, gpr.R(a), off & 0xFFF);
|
||||
ADD(WA, WA, remaining, true);
|
||||
}
|
||||
else
|
||||
{
|
||||
SUB(WA, WA, remaining, true);
|
||||
SUB(WA, gpr.R(a), off & 0xFFF);
|
||||
SUB(WA, WA, remaining, true);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user