Remove this double flush in the idleskipping code.

This commit is contained in:
Sonicadvance1 2013-01-29 21:05:42 +00:00
parent d2528615fa
commit f13a07fb82
1 changed files with 2 additions and 3 deletions

View File

@ -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