CPU/Recompiler: Support block revalidation instead of flushing

This commit is contained in:
Connor McLaughlin
2019-11-22 00:32:40 +10:00
parent 7aafaeacbc
commit 9e82afac7b
4 changed files with 117 additions and 60 deletions

View File

@ -523,7 +523,7 @@ void Bus::DoWriteSPU(MemoryAccessSize size, u32 offset, u32 value)
void Bus::DoInvalidateCodeCache(u32 page_index)
{
m_cpu_code_cache->FlushBlocksWithPageIndex(page_index);
m_cpu_code_cache->InvalidateBlocksWithPageIndex(page_index);
}
u32 Bus::DoReadDMA(MemoryAccessSize size, u32 offset)