PowerPC: Handle translation if range given to InvalidateICache spans multiple BAT or Page Table pages.

This commit is contained in:
Admiral H. Curtiss
2021-08-10 05:44:34 +02:00
parent 57037a69f9
commit df1e59409b
5 changed files with 46 additions and 10 deletions

View File

@ -226,7 +226,8 @@ void InvalidateICache(u32 address, u32 size, bool forced)
void InvalidateICacheLine(u32 address)
{
InvalidateICache(address & ~0x1f, 32, false);
if (g_jit)
g_jit->GetBlockCache()->InvalidateICacheLine(address);
}
void CompileExceptionCheck(ExceptionType type)