fix silly bug spotted by magumagu. the case is not likely to ever be used, though.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1621 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
parent
ffaf5177ed
commit
1b0cb56d2b
|
@ -400,8 +400,6 @@ void Jit64::lmw(UGeckoInstruction inst)
|
||||||
MOV(32, R(EAX), Imm32((u32)(s32)inst.SIMM_16));
|
MOV(32, R(EAX), Imm32((u32)(s32)inst.SIMM_16));
|
||||||
if (inst.RA)
|
if (inst.RA)
|
||||||
ADD(32, R(EAX), gpr.R(inst.RA));
|
ADD(32, R(EAX), gpr.R(inst.RA));
|
||||||
else
|
|
||||||
XOR(32, R(EAX), R(EAX));
|
|
||||||
for (int i = inst.RD; i < 32; i++)
|
for (int i = inst.RD; i < 32; i++)
|
||||||
{
|
{
|
||||||
MOV(32, R(ECX), MComplex(EBX, EAX, SCALE_1, (i - inst.RD) * 4));
|
MOV(32, R(ECX), MComplex(EBX, EAX, SCALE_1, (i - inst.RD) * 4));
|
||||||
|
@ -422,8 +420,6 @@ void Jit64::stmw(UGeckoInstruction inst)
|
||||||
MOV(32, R(EAX), Imm32((u32)(s32)inst.SIMM_16));
|
MOV(32, R(EAX), Imm32((u32)(s32)inst.SIMM_16));
|
||||||
if (inst.RA)
|
if (inst.RA)
|
||||||
ADD(32, R(EAX), gpr.R(inst.RA));
|
ADD(32, R(EAX), gpr.R(inst.RA));
|
||||||
else
|
|
||||||
XOR(32, R(EAX), R(EAX));
|
|
||||||
for (int i = inst.RD; i < 32; i++)
|
for (int i = inst.RD; i < 32; i++)
|
||||||
{
|
{
|
||||||
MOV(32, R(ECX), gpr.R(i));
|
MOV(32, R(ECX), gpr.R(i));
|
||||||
|
|
Loading…
Reference in New Issue