Removed the check for changed JIT blocks before invalidation. Fixes the slow speed in Zelda: Ocarina of Time Master Quest.
Fixes issue 5454.
This commit is contained in:
parent
b5ad382b07
commit
1d9ac2f6e1
|
@ -425,8 +425,6 @@ bool JitBlock::ContainsAddress(u32 em_address)
|
||||||
{
|
{
|
||||||
#ifdef JIT_UNLIMITED_ICACHE
|
#ifdef JIT_UNLIMITED_ICACHE
|
||||||
JitBlock &b = blocks[it2->second];
|
JitBlock &b = blocks[it2->second];
|
||||||
if (b.originalFirstOpcode != Memory::ReadUnchecked_U32(b.originalAddress))
|
|
||||||
{
|
|
||||||
if (b.originalAddress & JIT_ICACHE_VMEM_BIT)
|
if (b.originalAddress & JIT_ICACHE_VMEM_BIT)
|
||||||
{
|
{
|
||||||
u32 cacheaddr = b.originalAddress & JIT_ICACHE_MASK;
|
u32 cacheaddr = b.originalAddress & JIT_ICACHE_MASK;
|
||||||
|
@ -444,7 +442,6 @@ bool JitBlock::ContainsAddress(u32 em_address)
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
DestroyBlock(it2->second, true);
|
DestroyBlock(it2->second, true);
|
||||||
}
|
|
||||||
it2++;
|
it2++;
|
||||||
}
|
}
|
||||||
if (it1 != it2)
|
if (it1 != it2)
|
||||||
|
|
Loading…
Reference in New Issue