CPU/Recompiler: Reserve whole fastmem region to avoid clashes

This commit is contained in:
Connor McLaughlin
2021-04-11 12:42:51 +10:00
parent 8df0496dc1
commit 922d320523
13 changed files with 170 additions and 68 deletions

View File

@ -784,14 +784,14 @@ bool InitializeFastmem()
return false;
}
Bus::UpdateFastmemViews(mode, g_state.cop0_regs.sr.Isc);
Bus::UpdateFastmemViews(mode);
return true;
}
void ShutdownFastmem()
{
Common::PageFaultHandler::RemoveHandler(&s_host_code_map);
Bus::UpdateFastmemViews(CPUFastmemMode::Disabled, false);
Bus::UpdateFastmemViews(CPUFastmemMode::Disabled);
}
#ifdef WITH_MMAP_FASTMEM