summaryrefslogtreecommitdiffstats
path: root/src/core/hle/service
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2022-04-03 05:49:51 +0200
committerGitHub <noreply@github.com>2022-04-03 05:49:51 +0200
commit2d1af6beee5fec2076f351bf457c3f45f4dad7bc (patch)
treec0f1ebeca6454e846d4210fa23a3265c20e6a995 /src/core/hle/service
parentMerge pull request #8123 from german77/bombslinger (diff)
parentapplets/web: Keep foreground (websession) web applet open (diff)
downloadyuzu-2d1af6beee5fec2076f351bf457c3f45f4dad7bc.tar
yuzu-2d1af6beee5fec2076f351bf457c3f45f4dad7bc.tar.gz
yuzu-2d1af6beee5fec2076f351bf457c3f45f4dad7bc.tar.bz2
yuzu-2d1af6beee5fec2076f351bf457c3f45f4dad7bc.tar.lz
yuzu-2d1af6beee5fec2076f351bf457c3f45f4dad7bc.tar.xz
yuzu-2d1af6beee5fec2076f351bf457c3f45f4dad7bc.tar.zst
yuzu-2d1af6beee5fec2076f351bf457c3f45f4dad7bc.zip
Diffstat (limited to 'src/core/hle/service')
-rw-r--r--src/core/hle/service/am/applets/applet_web_browser.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/core/hle/service/am/applets/applet_web_browser.cpp b/src/core/hle/service/am/applets/applet_web_browser.cpp
index bb5cb61be..a4b3fb187 100644
--- a/src/core/hle/service/am/applets/applet_web_browser.cpp
+++ b/src/core/hle/service/am/applets/applet_web_browser.cpp
@@ -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)) {