Rename some system functions, merge the Launch* ones.

android launchurl buildfix
This commit is contained in:
Henrik Rydgård 2023-03-21 10:42:23 +01:00
parent a9eaa4fdc8
commit d3955b42bb
32 changed files with 178 additions and 207 deletions

View file

@ -392,7 +392,7 @@ EventReturn ReportScreen::HandleSubmit(EventParams &e) {
EventReturn ReportScreen::HandleBrowser(EventParams &e) {
const std::string url = "https://" + Reporting::ServerHost() + "/";
LaunchBrowser(url.c_str());
System_LaunchUrl(LaunchUrlType::BROWSER_URL, url.c_str());
return EVENT_DONE;
}
@ -515,6 +515,6 @@ void ReportFinishScreen::ShowSuggestions() {
UI::EventReturn ReportFinishScreen::HandleViewFeedback(UI::EventParams &e) {
const std::string url = "https://" + Reporting::ServerHost() + "/game/" + Reporting::CurrentGameID();
LaunchBrowser(url.c_str());
System_LaunchUrl(LaunchUrlType::BROWSER_URL, url.c_str());
return EVENT_DONE;
}