mirror of
https://github.com/libretro/Play-.git
synced 2024-11-27 18:50:28 +00:00
Remove unnecessary block lookup.
This commit is contained in:
parent
525dfae51e
commit
30ed7a2c34
@ -135,7 +135,7 @@ CBasicBlock* CMipsExecutor::FindBlockStartingAt(uint32 address) const
|
||||
auto& subTable = m_blockTable[hiAddress];
|
||||
if(!subTable) return nullptr;
|
||||
auto result = subTable[loAddress / 4];
|
||||
if((address != 0) && (FindBlockAt(address - 4) == result))
|
||||
if(!result || (result->GetBeginAddress() != address))
|
||||
{
|
||||
return nullptr;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user