Fix 2 typos I made in previous commits

This commit is contained in:
LegendOfDragoon 2016-08-23 11:40:24 -07:00
parent 7a5a0731bd
commit c29bff4353
2 changed files with 2 additions and 2 deletions

View File

@ -564,7 +564,7 @@ void Compile_ANDI ( void ) {
} else if (RSPOpC.rs == 0) { } else if (RSPOpC.rs == 0) {
MoveConstToVariable(0, &RSP_GPR[RSPOpC.rt].UW, GPR_Name(RSPOpC.rt)); MoveConstToVariable(0, &RSP_GPR[RSPOpC.rt].UW, GPR_Name(RSPOpC.rt));
} else if (Immediate == 0xFFFF) { } else if (Immediate == 0xFFFF) {
MoveZxVariableToX86reg(&RSP_GPR[RSPOpC.rs].UW, GPR_Name(RSPOpC.rs), x86_EAX); MoveZxVariableToX86regHalf(&RSP_GPR[RSPOpC.rs].UW, GPR_Name(RSPOpC.rs), x86_EAX);
MoveX86regToVariable(x86_EAX, &RSP_GPR[RSPOpC.rt].UW, GPR_Name(RSPOpC.rt)); MoveX86regToVariable(x86_EAX, &RSP_GPR[RSPOpC.rt].UW, GPR_Name(RSPOpC.rt));
} else { } else {
MoveVariableToX86reg(&RSP_GPR[RSPOpC.rs].UW, GPR_Name(RSPOpC.rs), x86_EAX); MoveVariableToX86reg(&RSP_GPR[RSPOpC.rs].UW, GPR_Name(RSPOpC.rs), x86_EAX);

View File

@ -1196,7 +1196,7 @@ void MoveConstHalfToN64Mem(WORD Const, int AddrReg) {
PUTDST8(RecompPos, x86Command); PUTDST8(RecompPos, x86Command);
PUTDST32(RecompPos, RSPInfo.DMEM); PUTDST32(RecompPos, RSPInfo.DMEM);
PUTDST8(RecompPos, Const); PUTDST16(RecompPos, Const);
} }
void MoveConstByteToVariable (BYTE Const,void *Variable, char *VariableName) { void MoveConstByteToVariable (BYTE Const,void *Variable, char *VariableName) {