mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-02-19 21:52:45 +00:00
Add Help button to MemstickScreen, pointing at a guide on the website.
This commit is contained in:
parent
363e846653
commit
395ce57919
@ -176,11 +176,18 @@ void MemStickScreen::CreateViews() {
|
||||
|
||||
if (!initialSetup_) {
|
||||
rightColumnItems->Add(new Choice(di->T("Back")))->OnClick.Handle<UIScreen>(this, &UIScreen::OnBack);
|
||||
rightColumnItems->Add(new Choice(di->T("Help")))->OnClick.Handle<MemStickScreen>(this, &MemStickScreen::OnHelp);
|
||||
}
|
||||
|
||||
INFO_LOG(SYSTEM, "MemStickScreen: initialSetup=%d", (int)initialSetup_);
|
||||
}
|
||||
|
||||
UI::EventReturn MemStickScreen::OnHelp(UI::EventParams ¶ms) {
|
||||
LaunchBrowser("https://ppsspp.org/guide_storage.html");
|
||||
|
||||
return UI::EVENT_DONE;
|
||||
}
|
||||
|
||||
UI::EventReturn MemStickScreen::OnSetFolderManually(UI::EventParams ¶ms) {
|
||||
// The old way, from before scoped storage.
|
||||
#if PPSSPP_PLATFORM(ANDROID)
|
||||
|
@ -57,6 +57,7 @@ protected:
|
||||
private:
|
||||
// Event handlers
|
||||
UI::EventReturn OnBrowse(UI::EventParams &e);
|
||||
UI::EventReturn OnHelp(UI::EventParams &e);
|
||||
UI::EventReturn OnUseInternalStorage(UI::EventParams ¶ms);
|
||||
UI::EventReturn OnUseStorageRoot(UI::EventParams ¶ms);
|
||||
UI::EventReturn OnSetFolderManually(UI::EventParams ¶ms);
|
||||
|
Loading…
x
Reference in New Issue
Block a user