VERY experimental Nintendo Switch 2 emulator
C++
core/web_browser: Allow WebApplet to exit gracefully when an error occurs
FearlessTobi1c7dcf38583d
diff --git a/src/core/hle/service/am/applets/web_browser.cpp b/src/core/hle/service/am/applets/web_browser.cppindex 12443c910e..9f30e167d6 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;}