mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-02-12 03:40:59 +00:00
Merge pull request #799 from FioraAeterna/mergebranchfix
JIT: correctly set skipNext even if conditional-continue is off
This commit is contained in:
commit
e6fa582753
@ -421,6 +421,7 @@ void Jit64::cmpXX(UGeckoInstruction inst)
|
|||||||
if (merge_branch)
|
if (merge_branch)
|
||||||
{
|
{
|
||||||
js.downcountAmount++;
|
js.downcountAmount++;
|
||||||
|
js.skipnext = true;
|
||||||
int test_bit = 8 >> (js.next_inst.BI & 3);
|
int test_bit = 8 >> (js.next_inst.BI & 3);
|
||||||
bool condition = !!(js.next_inst.BO & BO_BRANCH_IF_TRUE);
|
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))
|
if (!analyzer.HasOption(PPCAnalyst::PPCAnalyzer::OPTION_CONDITIONAL_CONTINUE))
|
||||||
{
|
{
|
||||||
js.skipnext = true;
|
|
||||||
WriteExit(js.next_compilerPC + 4);
|
WriteExit(js.next_compilerPC + 4);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user