Recompiler: deal with edge condition of Normal_NoSysCheck
This commit is contained in:
parent
4fe5d2e224
commit
e814eb967b
|
@ -1746,6 +1746,17 @@ bool CCodeSection::InheritParentInfo ( void )
|
|||
}
|
||||
}
|
||||
|
||||
if (JumpInfo->ExitReason == CExitInfo::Normal_NoSysCheck)
|
||||
{
|
||||
if (JumpInfo->RegSet.GetBlockCycleCount() != 0)
|
||||
{
|
||||
g_Notify->BreakPoint(__FILE__,__LINE__);
|
||||
}
|
||||
if (JumpInfo->JumpPC != (DWORD)-1)
|
||||
{
|
||||
g_Notify->BreakPoint(__FILE__,__LINE__);
|
||||
}
|
||||
} else {
|
||||
UpdateCounters(m_RegWorkingSet,m_EnterPC < JumpInfo->JumpPC,true);
|
||||
if (JumpInfo->JumpPC == (DWORD)-1)
|
||||
{
|
||||
|
@ -1756,6 +1767,7 @@ bool CCodeSection::InheritParentInfo ( void )
|
|||
CPU_Message("CompileSystemCheck 10");
|
||||
CompileSystemCheck(m_EnterPC,m_RegWorkingSet);
|
||||
}
|
||||
}
|
||||
JumpInfo->FallThrough = false;
|
||||
|
||||
//Fix up initial state
|
||||
|
|
Loading…
Reference in New Issue