mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-01 14:58:14 +00:00
Remove the UI::EventReturn return values. Makes editing the UI nicer.
This commit is contained in:
1 parent
730fd4754e
commit
58456ae950
62 files changed
+516
-935
No files matched your search
@@ -158,7 +158,6 @@ void InstallZipScreen::CreateViews() {
|
||||
if (System_GetPropertyBool(SYSPROP_CAN_SHOW_FILE)) {
|
||||
rightCompare->Add(new Button(di->T("Show in folder")))->OnClick.Add([=](UI::EventParams &) {
|
||||
System_ShowFileInFolder(savedataToOverwrite_);
|
||||
return UI::EVENT_DONE;
|
||||
});
|
||||
}
|
||||
}
|
||||
@@ -207,7 +206,7 @@ bool InstallZipScreen::key(const KeyInput &key) {
|
||||
return false;
|
||||
}
|
||||
|
||||
UI::EventReturn InstallZipScreen::OnInstall(UI::EventParams ¶ms) {
|
||||
void InstallZipScreen::OnInstall(UI::EventParams ¶ms) {
|
||||
ZipFileTask task;
|
||||
task.url = zipPath_;
|
||||
task.fileName = zipPath_;
|
||||
@@ -225,12 +224,10 @@ UI::EventReturn InstallZipScreen::OnInstall(UI::EventParams ¶ms) {
|
||||
installChoice_->SetEnabled(false);
|
||||
}
|
||||
}
|
||||
return UI::EVENT_DONE;
|
||||
}
|
||||
|
||||
UI::EventReturn InstallZipScreen::OnPlay(UI::EventParams ¶ms) {
|
||||
void InstallZipScreen::OnPlay(UI::EventParams ¶ms) {
|
||||
screenManager()->switchScreen(new EmuScreen(zipPath_));
|
||||
return UI::EVENT_DONE;
|
||||
}
|
||||
|
||||
void InstallZipScreen::update() {
|
||||
|
||||
Reference in new issue
Block a user