Skip to content

Commit

Permalink
Merge pull request #14107 from MojoJojoDojo/master
Browse files Browse the repository at this point in the history
[Adhoc] Replace the link to the Ad-hoc forums in Networking options to a PPSSPP Github Wiki page link
  • Loading branch information
anr2me authored Jul 1, 2021
2 parents ff2a6ee + ba08e08 commit 6867613
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions UI/GameSettingsScreen.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -778,7 +778,7 @@ void GameSettingsScreen::CreateViews() {

networkingSettings->Add(new ItemHeader(ms->T("Networking")));

networkingSettings->Add(new Choice(n->T("Adhoc Multiplayer forum")))->OnClick.Handle(this, &GameSettingsScreen::OnAdhocGuides);
networkingSettings->Add(new Choice(n->T("PPSSPP Ad-Hoc Wiki Page")))->OnClick.Handle(this, &GameSettingsScreen::OnAdhocGuides);

networkingSettings->Add(new CheckBox(&g_Config.bEnableWlan, n->T("Enable networking", "Enable networking/wlan (beta)")));
networkingSettings->Add(new ChoiceWithValueDisplay(&g_Config.sMACAddress, n->T("Change Mac Address"), (const char*)nullptr))->OnClick.Handle(this, &GameSettingsScreen::OnChangeMacAddress);
Expand Down Expand Up @@ -1080,7 +1080,8 @@ void RecreateActivity() {
}

UI::EventReturn GameSettingsScreen::OnAdhocGuides(UI::EventParams &e) {
LaunchBrowser("https://forums.ppsspp.org/forumdisplay.php?fid=34");
auto n = GetI18NCategory("Networking");
LaunchBrowser(n->T("MultiplayerHowToURL", "https://github.com/hrydgard/ppsspp/wiki/How-to-play-multiplayer-games-with-PPSSPP"));
return UI::EVENT_DONE;
}

Expand Down

0 comments on commit 6867613

Please sign in to comment.