mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-10 13:06:24 +02:00
Allow using a file browser to choose UMDs during disc change.
This commit is contained in:
1 parent
6d449139bf
commit
67cb466ee1
5 files changed
+29
-18
No files matched your search
+4
-6
@@ -352,7 +352,10 @@ void GamePauseScreen::CreateViews() {
|
||||
|
||||
rightColumnItems->SetSpacing(0.0f);
|
||||
if (getUMDReplacePermit()) {
|
||||
rightColumnItems->Add(new Choice(pa->T("Switch UMD")))->OnClick.Handle(this, &GamePauseScreen::OnSwitchUMD);
|
||||
rightColumnItems->Add(new Choice(pa->T("Switch UMD")))->OnClick.Add([=](UI::EventParams &) {
|
||||
screenManager()->push(new UmdReplaceScreen());
|
||||
return UI::EVENT_DONE;
|
||||
});
|
||||
}
|
||||
Choice *continueChoice = rightColumnItems->Add(new Choice(pa->T("Continue")));
|
||||
root_->SetDefaultFocusView(continueChoice);
|
||||
@@ -469,11 +472,6 @@ UI::EventReturn GamePauseScreen::OnLastSaveUndo(UI::EventParams &e) {
|
||||
return UI::EVENT_DONE;
|
||||
}
|
||||
|
||||
UI::EventReturn GamePauseScreen::OnSwitchUMD(UI::EventParams &e) {
|
||||
screenManager()->push(new UmdReplaceScreen());
|
||||
return UI::EVENT_DONE;
|
||||
}
|
||||
|
||||
void GamePauseScreen::CallbackDeleteConfig(bool yes)
|
||||
{
|
||||
if (yes) {
|
||||
|
||||
Reference in new issue
Block a user