mirror of
https://github.com/RetroDECK/Duckstation.git
synced 2025-01-18 06:25:37 +00:00
CPU/CodeCache: Fix crash when switching from interpreter to recompiler
This commit is contained in:
parent
b41d56d305
commit
a542fa85d6
|
@ -490,8 +490,9 @@ void Reinitialize()
|
||||||
if (g_settings.IsUsingFastmem() && !InitializeFastmem())
|
if (g_settings.IsUsingFastmem() && !InitializeFastmem())
|
||||||
Panic("Failed to initialize fastmem");
|
Panic("Failed to initialize fastmem");
|
||||||
|
|
||||||
ResetFastMap();
|
AllocateFastMap();
|
||||||
CompileDispatcher();
|
CompileDispatcher();
|
||||||
|
ResetFastMap();
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue