Recompiler: Add perm loop check for R4300i_REGIMM_BGEZ in CheckLoopRegisterUsage
This commit is contained in:
parent
8242822aa1
commit
ca161dfd07
|
@ -240,13 +240,11 @@ bool LoopAnalysis::CheckLoopRegisterUsage( CCodeSection * Section)
|
||||||
_Notify->BreakPoint(__FILE__,__LINE__);
|
_Notify->BreakPoint(__FILE__,__LINE__);
|
||||||
}
|
}
|
||||||
if (m_PC == Section->m_Jump.TargetPC)
|
if (m_PC == Section->m_Jump.TargetPC)
|
||||||
|
{
|
||||||
|
if (!DelaySlotEffectsCompare(m_PC,m_Command.rs,0) && !Section->m_Jump.PermLoop)
|
||||||
{
|
{
|
||||||
_Notify->BreakPoint(__FILE__,__LINE__);
|
_Notify->BreakPoint(__FILE__,__LINE__);
|
||||||
#ifdef tofix
|
|
||||||
if (!DelaySlotEffectsCompare(m_PC,m_Command.rs,m_Command.rt)) {
|
|
||||||
Section->m_Jump.PermLoop = true;
|
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in New Issue