mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-30 17:53:42 +01:00
When removing a game, tell the recent-files cache.
This commit is contained in:
1 parent
4cc5b230ce
commit
b422aecb49
2 files changed
+4
-1
No files matched your search
@@ -564,6 +564,7 @@ UI::EventReturn GameScreen::OnDeleteGame(UI::EventParams &e) {
|
||||
std::shared_ptr<GameInfo> info = g_gameInfoCache->GetInfo(NULL, gamePath, GameInfoFlags::PARAM_SFO);
|
||||
info->Delete();
|
||||
g_gameInfoCache->Clear();
|
||||
g_recentFiles.Remove(gamePath.c_str());
|
||||
sm->switchScreen(new MainScreen());
|
||||
}
|
||||
}));
|
||||
|
||||
Reference in new issue
Block a user