mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-12-02 02:33:43 +01:00
Restore missing Recent tab option: Clear Recent Section.
Hard code MaxRecent to be 30. No real need to make it configurable anymore.
This commit is contained in:
1 parent
8a32dd35dc
commit
0e3c68dc9b
3 files changed
+11
-5
No files matched your search
@@ -365,6 +365,7 @@ void GameSettingsScreen::CreateViews() {
|
||||
#ifdef _WIN32
|
||||
systemSettings->Add(new Choice(s->T("Change Nickname")))->OnClick.Handle(this, &GameSettingsScreen::OnChangeNickname);
|
||||
#endif
|
||||
systemSettings->Add(new Choice(s->T("Clear Recent Section")))->OnClick.Handle(this, &GameSettingsScreen::OnClearRecents);
|
||||
systemSettings->Add(new CheckBox(&enableReports_, s->T("Enable Compatibility Server Reports")));
|
||||
systemSettings->Add(new Choice(s->T("Developer Tools")))->OnClick.Handle(this, &GameSettingsScreen::OnDeveloperTools);
|
||||
|
||||
@@ -379,6 +380,12 @@ void GameSettingsScreen::CreateViews() {
|
||||
systemSettings->Add(new PopupMultiChoice(&g_Config.iButtonPreference, s->T("Confirmation Button"), buttonPref, 0, 2, s, screenManager()));
|
||||
}
|
||||
|
||||
UI::EventReturn GameSettingsScreen::OnClearRecents(UI::EventParams &e) {
|
||||
g_Config.recentIsos.clear();
|
||||
|
||||
return UI::EVENT_DONE;
|
||||
}
|
||||
|
||||
UI::EventReturn GameSettingsScreen::OnReloadCheats(UI::EventParams &e) {
|
||||
// Hmm, strange mechanism.
|
||||
g_Config.bReloadCheats = true;
|
||||
|
||||
Reference in new issue
Block a user