fix build with JIT disabled and set default JIT maxblock size to 32

This commit is contained in:
RSDuck
2020-04-26 16:27:26 +02:00
parent dc86bac83d
commit 6d217e1010
4 changed files with 9 additions and 3 deletions

View File

@ -562,11 +562,15 @@ void ARMv5::CP15Write(u32 id, u32 val)
case 0x750:
#ifdef JIT_ENABLED
ARMJIT::InvalidateAll();
#endif
ICacheInvalidateAll();
return;
case 0x751:
#ifdef JIT_ENABLED
ARMJIT::InvalidateByAddr(ARMJIT::TranslateAddr<0>(val));
#endif
ICacheInvalidateByAddr(val);
return;
case 0x752: