mirror of
https://github.com/libretro/ppsspp.git
synced 2024-11-24 00:29:57 +00:00
Clear the JIT cache correctly when exiting the cheat dialog.
This commit is contained in:
parent
2b278d4c13
commit
a588b46321
@ -103,8 +103,7 @@ UI::EventReturn CwCheatScreen::OnBack(UI::EventParams ¶ms) {
|
||||
os.close();
|
||||
g_Config.bReloadCheats = true;
|
||||
if (MIPSComp::jit) {
|
||||
auto blocks = MIPSComp::jit->GetBlockCache();
|
||||
blocks->Clear();
|
||||
MIPSComp::jit->ClearCache();
|
||||
}
|
||||
return UI::EVENT_DONE;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user