Reenabled addreadlookup() and addwritelookup() in mem/mem.c, fixes performance of the emulator.

This commit is contained in:
OBattler
2020-11-17 21:05:13 +01:00
parent f664d0b5b3
commit 26bffcb91f

View File

@@ -549,8 +549,6 @@ addreadlookup(uint32_t virt, uint32_t phys)
uint32_t a;
#endif
return;
if (virt == 0xffffffff) return;
if (readlookup2[virt>>12] != (uintptr_t) LOOKUP_INV) return;
@@ -586,8 +584,6 @@ addwritelookup(uint32_t virt, uint32_t phys)
uint32_t a;
#endif
return;
if (virt == 0xffffffff) return;
if (page_lookup[virt >> 12]) return;