diff --git a/src/core/cpu_code_cache.cpp b/src/core/cpu_code_cache.cpp index 6a6b1cb78..cea715719 100644 --- a/src/core/cpu_code_cache.cpp +++ b/src/core/cpu_code_cache.cpp @@ -490,8 +490,9 @@ void Reinitialize() if (g_settings.IsUsingFastmem() && !InitializeFastmem()) Panic("Failed to initialize fastmem"); - ResetFastMap(); + AllocateFastMap(); CompileDispatcher(); + ResetFastMap(); } #endif }