Add a link to the adhoc forum in the networking screen, hoping to reduce my email load :)

This commit is contained in:
Henrik Rydgard 2015-01-29 22:15:42 +01:00
parent 2df04bab3b
commit ce03d747bc
2 changed files with 9 additions and 0 deletions

View File

@ -410,6 +410,8 @@ void GameSettingsScreen::CreateViews() {
networkingSettings->Add(new ItemHeader(ms->T("Networking")));
networkingSettings->Add(new Choice(ms->T("Adhoc Multiplayer forum")))->OnClick.Handle(this, &GameSettingsScreen::OnAdhocGuides);
networkingSettings->Add(new CheckBox(&g_Config.bEnableWlan, n->T("Enable networking", "Enable networking/wlan (beta)")));
#ifdef _WIN32
@ -583,6 +585,11 @@ static void RecreateActivity() {
}
}
UI::EventReturn GameSettingsScreen::OnAdhocGuides(UI::EventParams &e) {
LaunchBrowser("http://forums.ppsspp.org/forumdisplay.php?fid=34");
return UI::EVENT_DONE;
}
UI::EventReturn GameSettingsScreen::OnImmersiveModeChange(UI::EventParams &e) {
System_SendMessage("immersive", "");
const int SYSTEM_JELLYBEAN = 16;

View File

@ -96,6 +96,8 @@ private:
UI::EventReturn OnScreenRotation(UI::EventParams &e);
UI::EventReturn OnImmersiveModeChange(UI::EventParams &e);
UI::EventReturn OnAdhocGuides(UI::EventParams &e);
// Temporaries to convert bools to int settings
bool cap60FPS_;
int iAlternateSpeedPercent_;