From 9a14d333722ebbf8b7c01da006d83d2c3cb570fc Mon Sep 17 00:00:00 2001 From: Henrik Rydgard Date: Thu, 14 Nov 2013 17:25:02 +0100 Subject: [PATCH] Disable software divide that appears to be buggy, see #4539 --- Core/MIPS/ARM/ArmCompALU.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Core/MIPS/ARM/ArmCompALU.cpp b/Core/MIPS/ARM/ArmCompALU.cpp index 66499cef44..e45020e662 100644 --- a/Core/MIPS/ARM/ArmCompALU.cpp +++ b/Core/MIPS/ARM/ArmCompALU.cpp @@ -772,6 +772,8 @@ namespace MIPSComp MUL(R0, gpr.R(rt), gpr.R(MIPS_REG_LO)); SUB(gpr.R(MIPS_REG_HI), gpr.R(rs), Operand2(R0)); } else { + DISABLE; + // If rt is 0, we either caught it above, or it's not an imm. bool skipZero = gpr.IsImm(rt); gpr.MapDirtyDirtyInIn(MIPS_REG_LO, MIPS_REG_HI, rs, rt);