mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-18 03:44:32 +01:00
x86jit/ppcjit: Correct some bad sltiu compares.
This commit is contained in:
1 parent
b2f5efaa50
commit
4a1514730f
2 files changed
+6
-6
No files matched your search
@@ -146,7 +146,7 @@ namespace MIPSComp
|
||||
case 11: //sltiu
|
||||
if (gpr.IsImm(rs))
|
||||
{
|
||||
gpr.SetImm(rt, gpr.GetImm(rs) < uimm);
|
||||
gpr.SetImm(rt, gpr.GetImm(rs) < suimm);
|
||||
break;
|
||||
} else {
|
||||
//DISABLE;
|
||||
@@ -154,7 +154,7 @@ namespace MIPSComp
|
||||
|
||||
PPCReg ppc_rt = gpr.R(rt);
|
||||
|
||||
ADDI(SREG, R0, uimm);
|
||||
ADDI(SREG, R0, suimm);
|
||||
SUBFC(ppc_rt, SREG, gpr.R(rs));
|
||||
SUBFE(ppc_rt, ppc_rt, ppc_rt);
|
||||
NEG(ppc_rt, ppc_rt);
|
||||
|
||||
Reference in new issue
Block a user