Save after changing recent list
regarding #7472 . If this is not done then the config file (the main config, the per-game config files do not have recent entries) is loaded when a game with game-specific settings is touched.
This commit is contained in:
parent
6f0ea8fcf4
commit
aa6985f5c2
3 changed files with 3 additions and 0 deletions
|
@ -301,6 +301,7 @@ UI::EventReturn GameScreen::OnRemoveFromRecent(UI::EventParams &e) {
|
|||
if (!strcmp((*it).c_str(), gamePath_.c_str())) {
|
||||
#endif
|
||||
g_Config.recentIsos.erase(it);
|
||||
g_Config.Save();
|
||||
screenManager()->switchScreen(new MainScreen());
|
||||
return UI::EVENT_DONE;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue