Merge pull request #398 from lioncash/rsp
RSP: Fix a typo in Compile_ADDI
This commit is contained in:
commit
dcd75a1557
|
@ -447,7 +447,7 @@ void Compile_ADDI ( void ) {
|
|||
AddConstToVariable(Immediate, &RSP_GPR[RSPOpC.rt].UW, GPR_Name(RSPOpC.rt));
|
||||
} else if (RSPOpC.rs == 0) {
|
||||
MoveConstToVariable(Immediate, &RSP_GPR[RSPOpC.rt].UW, GPR_Name(RSPOpC.rt));
|
||||
} else if ((IsRegConst(RSPOpC.rs) && 1) != 0) {
|
||||
} else if ((IsRegConst(RSPOpC.rs) & 1) != 0) {
|
||||
MoveConstToVariable(MipsRegConst(RSPOpC.rs) + Immediate, &RSP_GPR[RSPOpC.rt].UW, GPR_Name(RSPOpC.rt));
|
||||
} else {
|
||||
MoveVariableToX86reg(&RSP_GPR[RSPOpC.rs].UW, GPR_Name(RSPOpC.rs), x86_EAX);
|
||||
|
|
Loading…
Reference in New Issue