From 75cc8917a14dbfcb7104a5b285547276889037f0 Mon Sep 17 00:00:00 2001 From: Fiora Date: Thu, 14 Aug 2014 07:57:55 -0700 Subject: [PATCH] JIT: correctly set skipNext even if conditional-continue is off --- Source/Core/Core/PowerPC/Jit64/Jit_Integer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/Core/Core/PowerPC/Jit64/Jit_Integer.cpp b/Source/Core/Core/PowerPC/Jit64/Jit_Integer.cpp index 82d6904063..544b84f678 100644 --- a/Source/Core/Core/PowerPC/Jit64/Jit_Integer.cpp +++ b/Source/Core/Core/PowerPC/Jit64/Jit_Integer.cpp @@ -421,6 +421,7 @@ void Jit64::cmpXX(UGeckoInstruction inst) if (merge_branch) { js.downcountAmount++; + js.skipnext = true; int test_bit = 8 >> (js.next_inst.BI & 3); bool condition = js.next_inst.BO & BO_BRANCH_IF_TRUE; @@ -479,7 +480,6 @@ void Jit64::cmpXX(UGeckoInstruction inst) if (!analyzer.HasOption(PPCAnalyst::PPCAnalyzer::OPTION_CONDITIONAL_CONTINUE)) { - js.skipnext = true; WriteExit(js.next_compilerPC + 4); } }