Skip to content
Snippets Groups Projects
Commit 1166c391 authored by Morph's avatar Morph
Browse files

applets/web: Keep foreground (websession) web applet open

This is a hack to keep the foreground (websession) web applet open in games using these such as Super Mario 3D All-Stars.
parent 550844e5
No related branches found
No related tags found
No related merge requests found
......@@ -446,6 +446,14 @@ void WebBrowser::ExecuteLogin() {
}
void WebBrowser::ExecuteOffline() {
// TODO (Morph): This is a hack for WebSession foreground web applets such as those used by
// Super Mario 3D All-Stars.
// TODO (Morph): Implement WebSession.
if (applet_mode == LibraryAppletMode::AllForegroundInitiallyHidden) {
LOG_WARNING(Service_AM, "WebSession is not implemented");
return;
}
const auto main_url = GetMainURL(Common::FS::PathToUTF8String(offline_document));
if (!Common::FS::Exists(main_url)) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment