Bus: 16KB page compatibility for mmap fastmem

This commit is contained in:
Stenzek
2023-09-20 22:57:24 +10:00
parent 5bbb7cf906
commit 3c68543491
23 changed files with 666 additions and 687 deletions

View File

@ -242,6 +242,9 @@ static TinyString GetTimestampStringForFileName()
void System::Internal::ProcessStartup()
{
if (!Bus::AllocateMemory())
Panic("Failed to allocate memory for emulated bus.");
// This will call back to Host::LoadSettings() -> ReloadSources().
LoadSettings(false);
@ -262,6 +265,8 @@ void System::Internal::ProcessShutdown()
Achievements::Shutdown(false);
InputManager::CloseSources();
Bus::ReleaseMemory();
}
void System::Internal::IdlePollUpdate()