Permalink
Browse files

Jit_Branch: bcx

  • Loading branch information...
MerryMage committed Oct 15, 2018
1 parent 256e234 commit 453417ad8c02f71f498939d1f4fb5638bd6a4b97
Showing with 7 additions and 3 deletions.
  1. +7 −3 Source/Core/Core/PowerPC/Jit64/Jit_Branch.cpp
@@ -160,9 +160,13 @@ void Jit64::bcx(UGeckoInstruction inst)
else
destination = js.compilerPC + SignExt16(inst.BD << 2);
gpr.Flush(RegCache::FlushMode::MaintainState);
fpr.Flush(RegCache::FlushMode::MaintainState);
WriteExit(destination, inst.LK, js.compilerPC + 4);
{
RCForkGuard gpr_guard = gpr.Fork();
RCForkGuard fpr_guard = fpr.Fork();
gpr.Flush();
fpr.Flush();
WriteExit(destination, inst.LK, js.compilerPC + 4);
}
if ((inst.BO & BO_DONT_CHECK_CONDITION) == 0)
SetJumpTarget(pConditionDontBranch);

0 comments on commit 453417a

Please sign in to comment.