summaryrefslogtreecommitdiffstats
path: root/src/core/hle/service/am
diff options
context:
space:
mode:
authorMorph <39850852+Morph1984@users.noreply.github.com>2022-04-02 04:49:05 +0200
committerMorph <39850852+Morph1984@users.noreply.github.com>2022-04-02 04:50:01 +0200
commit1166c3910dbc7a2ad5baefcc8e8ed827ac439d5a (patch)
treee16c87faf679b2da8776e4095b28a92fea7805b2 /src/core/hle/service/am
parentMerge pull request #8128 from FernandoS27/gc-fixes (diff)
downloadyuzu-1166c3910dbc7a2ad5baefcc8e8ed827ac439d5a.tar
yuzu-1166c3910dbc7a2ad5baefcc8e8ed827ac439d5a.tar.gz
yuzu-1166c3910dbc7a2ad5baefcc8e8ed827ac439d5a.tar.bz2
yuzu-1166c3910dbc7a2ad5baefcc8e8ed827ac439d5a.tar.lz
yuzu-1166c3910dbc7a2ad5baefcc8e8ed827ac439d5a.tar.xz
yuzu-1166c3910dbc7a2ad5baefcc8e8ed827ac439d5a.tar.zst
yuzu-1166c3910dbc7a2ad5baefcc8e8ed827ac439d5a.zip
Diffstat (limited to 'src/core/hle/service/am')
-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)) {