summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFearlessTobi <thm.frey@gmail.com>2020-03-01 22:25:36 +0100
committerFearlessTobi <thm.frey@gmail.com>2020-03-22 16:01:13 +0100
commit977418c65bdaa3f1157eafff0a4608e483b0bacb (patch)
tree614f81e5e5c0c196e1ca958fc3794654bad1dd63
parentMerge pull request #3448 from bunnei/fix-audio-interp-2 (diff)
downloadyuzu-977418c65bdaa3f1157eafff0a4608e483b0bacb.tar
yuzu-977418c65bdaa3f1157eafff0a4608e483b0bacb.tar.gz
yuzu-977418c65bdaa3f1157eafff0a4608e483b0bacb.tar.bz2
yuzu-977418c65bdaa3f1157eafff0a4608e483b0bacb.tar.lz
yuzu-977418c65bdaa3f1157eafff0a4608e483b0bacb.tar.xz
yuzu-977418c65bdaa3f1157eafff0a4608e483b0bacb.tar.zst
yuzu-977418c65bdaa3f1157eafff0a4608e483b0bacb.zip
-rw-r--r--src/core/hle/service/am/applets/web_browser.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/core/hle/service/am/applets/web_browser.cpp b/src/core/hle/service/am/applets/web_browser.cpp
index 12443c910..9f30e167d 100644
--- a/src/core/hle/service/am/applets/web_browser.cpp
+++ b/src/core/hle/service/am/applets/web_browser.cpp
@@ -254,6 +254,12 @@ void WebBrowser::Execute() {
if (status != RESULT_SUCCESS) {
complete = true;
+
+ // This is a workaround in order not to softlock yuzu when an error happens during the
+ // webapplet init. In order to avoid an svcBreak, the status is set to RESULT_SUCCESS
+ Finalize();
+ status = RESULT_SUCCESS;
+
return;
}