diff --git a/UI/CwCheatScreen.cpp b/UI/CwCheatScreen.cpp index ea821d0c34..563dcc8413 100644 --- a/UI/CwCheatScreen.cpp +++ b/UI/CwCheatScreen.cpp @@ -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; }