Merge pull request #2091 from magumagu/lmw-saved-regs

Fix registersInUse in Jit64::lmw.
This commit is contained in:
Pierre Bourdon 2015-02-21 18:42:17 +01:00
commit e8f37bc3fe
1 changed files with 1 additions and 1 deletions

View File

@ -527,7 +527,7 @@ void Jit64::lmw(UGeckoInstruction inst)
ADD(32, R(RSCRATCH2), gpr.R(inst.RA));
for (int i = inst.RD; i < 32; i++)
{
SafeLoadToReg(RSCRATCH, R(RSCRATCH2), 32, (i - inst.RD) * 4, CallerSavedRegistersInUse() | BitSet32 { RSCRATCH_EXTRA }, false);
SafeLoadToReg(RSCRATCH, R(RSCRATCH2), 32, (i - inst.RD) * 4, CallerSavedRegistersInUse() | BitSet32 { RSCRATCH2 }, false);
gpr.BindToRegister(i, false, true);
MOV(32, gpr.R(i), R(RSCRATCH));
}