CPU/CodeCache: Fix crash when switching from interpreter to recompiler

This commit is contained in:
Connor McLaughlin 2021-07-31 13:29:02 +10:00
parent b41d56d305
commit a542fa85d6
1 changed files with 2 additions and 1 deletions

View File

@ -490,8 +490,9 @@ void Reinitialize()
if (g_settings.IsUsingFastmem() && !InitializeFastmem())
Panic("Failed to initialize fastmem");
ResetFastMap();
AllocateFastMap();
CompileDispatcher();
ResetFastMap();
}
#endif
}