invalidate JIT blocks in ARM7 WVRAM when it's remapped

This commit is contained in:
RSDuck
2022-08-22 00:39:08 +02:00
parent d56219c33c
commit 32609bbc98
4 changed files with 32 additions and 3 deletions

View File

@ -134,6 +134,9 @@ void ARMv5::UpdateITCMSetting()
if (CP15Control & (1<<18))
{
ITCMSize = 0x200 << ((ITCMSetting >> 1) & 0x1F);
#ifdef JIT_ENABLED
FastBlockLookupSize = 0;
#endif
}
else
{