Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Remove this double flush in the idleskipping code.
  • Loading branch information
Sonicadvance1 committed Jan 29, 2013
1 parent d252861 commit f13a07f
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions Source/Core/Core/Src/PowerPC/Jit64/Jit_LoadStore.cpp
Expand Up @@ -140,13 +140,12 @@ void Jit64::lXXx(UGeckoInstruction inst)
gpr.UnlockAll();

gpr.Flush(FLUSH_ALL);
fpr.Flush(FLUSH_ALL);

// if it's still 0, we can wait until the next event
TEST(32, R(EAX), R(EAX));
FixupBranch noIdle = J_CC(CC_NZ);

gpr.Flush(FLUSH_ALL);
fpr.Flush(FLUSH_ALL);

ABI_CallFunctionC((void *)&PowerPC::OnIdle, PowerPC::ppcState.gpr[a] + (s32)(s16)inst.SIMM_16);

// ! we must continue executing of the loop after exception handling, maybe there is still 0 in r0
Expand Down

0 comments on commit f13a07f

Please sign in to comment.