Merge pull request #799 from FioraAeterna/mergebranchfix

JIT: correctly set skipNext even if conditional-continue is off
This commit is contained in:
Ryan Houdek 2014-08-14 10:12:19 -05:00
commit e6fa582753

View File

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