mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-04-02 11:01:50 -04:00
Clear the JIT cache correctly when exiting the cheat dialog.
This commit is contained in:
parent
2b278d4c13
commit
a588b46321
1 changed files with 1 additions and 2 deletions
|
@ -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…
Add table
Reference in a new issue