From 9864c1cd8d82b50304f78b332014dcf89f950a83 Mon Sep 17 00:00:00 2001 From: "Unknown W. Brackets" Date: Fri, 16 Aug 2013 22:58:18 -0700 Subject: [PATCH] Minor x86 jit branch tweak from arm. --- Core/MIPS/x86/CompBranch.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Core/MIPS/x86/CompBranch.cpp b/Core/MIPS/x86/CompBranch.cpp index 0669236ee6..f03a4920ee 100644 --- a/Core/MIPS/x86/CompBranch.cpp +++ b/Core/MIPS/x86/CompBranch.cpp @@ -176,7 +176,7 @@ void Jit::BranchRSRTComp(u32 op, Gen::CCFlags cc, bool likely) if (!likely && delaySlotIsNice) CompileDelaySlot(DELAYSLOT_NICE); - if (rt == 0) + if (gpr.IsImmediate(rt) && gpr.GetImmediate32(rt) == 0) { gpr.KillImmediate(rs, true, false); CMP(32, gpr.R(rs), Imm32(0));