Cleaned up clear related to tlb write

This commit is contained in:
zilmar 2012-10-25 19:37:52 +11:00
parent 4be9e911b8
commit ec106c94b8
1 changed files with 7 additions and 2 deletions

View File

@ -632,8 +632,13 @@ void CRecompiler::RecompilerMain_Lookup_validate_TLB( void )
if (*(info->MemLocation(0)) != info->MemContents(0) || if (*(info->MemLocation(0)) != info->MemContents(0) ||
*(info->MemLocation(1)) != info->MemContents(1)) *(info->MemLocation(1)) != info->MemContents(1))
{ {
ClearRecompCode_Virt((info->EnterPC() - 0x1000) & ~0xFFF,0x3000,Remove_ValidateFunc); ClearRecompCode_Phys((PhysicalAddr - 0x1000) & ~0xFFF,0x3000,Remove_ValidateFunc);
info = NULL; info = JumpTable()[PhysicalAddr >> 2];
if (info != NULL)
{
_Notify->BreakPoint(__FILE__,__LINE__);
info = NULL;
}
continue; continue;
} }
} }