CPU/Recompiler: Prevent using fastmem when cache is isolated

No point even trying since it's just going to fault.
This commit is contained in:
Connor McLaughlin
2021-04-12 02:08:37 +10:00
parent 922d320523
commit e087e6f3a2
12 changed files with 69 additions and 33 deletions

View File

@ -785,6 +785,7 @@ bool InitializeFastmem()
}
Bus::UpdateFastmemViews(mode);
CPU::UpdateFastmemBase();
return true;
}
@ -792,6 +793,7 @@ void ShutdownFastmem()
{
Common::PageFaultHandler::RemoveHandler(&s_host_code_map);
Bus::UpdateFastmemViews(CPUFastmemMode::Disabled);
CPU::UpdateFastmemBase();
}
#ifdef WITH_MMAP_FASTMEM