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:
@ -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
|
||||
|
||||
Reference in New Issue
Block a user