diff options
author | bunnei <bunneidev@gmail.com> | 2022-04-03 05:49:51 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-04-03 05:49:51 +0200 |
commit | 2d1af6beee5fec2076f351bf457c3f45f4dad7bc (patch) | |
tree | c0f1ebeca6454e846d4210fa23a3265c20e6a995 /src | |
parent | Merge pull request #8123 from german77/bombslinger (diff) | |
parent | applets/web: Keep foreground (websession) web applet open (diff) | |
download | yuzu-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')
-rw-r--r-- | src/core/hle/service/am/applets/applet_web_browser.cpp | 8 |
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)) { |