Recompiler: Add perm loop check for R4300i_REGIMM_BGEZ in CheckLoopRegisterUsage

This commit is contained in:
zilmar 2012-11-17 11:53:29 +11:00
parent 8242822aa1
commit ca161dfd07
1 changed files with 3 additions and 5 deletions

View File

@ -241,12 +241,10 @@ bool LoopAnalysis::CheckLoopRegisterUsage( CCodeSection * Section)
}
if (m_PC == Section->m_Jump.TargetPC)
{
_Notify->BreakPoint(__FILE__,__LINE__);
#ifdef tofix
if (!DelaySlotEffectsCompare(m_PC,m_Command.rs,m_Command.rt)) {
Section->m_Jump.PermLoop = true;
if (!DelaySlotEffectsCompare(m_PC,m_Command.rs,0) && !Section->m_Jump.PermLoop)
{
_Notify->BreakPoint(__FILE__,__LINE__);
}
#endif
}
#endif
break;