Minor x86 jit branch tweak from arm.

This commit is contained in:
Unknown W. Brackets 2013-08-16 22:58:18 -07:00
parent 5787a2b9f7
commit 9864c1cd8d

View file

@ -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));