summaryrefslogtreecommitdiff
path: root/src/core/hle
diff options
context:
space:
mode:
authorGravatar Morph2020-11-15 09:00:19 -0500
committerGravatar Morph2020-12-18 10:33:28 -0500
commitd6d1a8e02c99b369fdbd9df2d3bdb68832f3d614 (patch)
tree0c2e3d558620b5bdb2d69c5643340c32dfe61ef3 /src/core/hle
parentapplets/web: Implement the offline browser applet backend (diff)
downloadyuzu-d6d1a8e02c99b369fdbd9df2d3bdb68832f3d614.tar.gz
yuzu-d6d1a8e02c99b369fdbd9df2d3bdb68832f3d614.tar.xz
yuzu-d6d1a8e02c99b369fdbd9df2d3bdb68832f3d614.zip
applets/web: Implement the default web browser applet frontend
Diffstat (limited to 'src/core/hle')
-rw-r--r--src/core/hle/service/am/applets/web_browser.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/core/hle/service/am/applets/web_browser.cpp b/src/core/hle/service/am/applets/web_browser.cpp
index 06fcf3e3f..c0c98ad30 100644
--- a/src/core/hle/service/am/applets/web_browser.cpp
+++ b/src/core/hle/service/am/applets/web_browser.cpp
@@ -356,7 +356,10 @@ void WebBrowser::ExecuteLogin() {
356 356
357void WebBrowser::ExecuteOffline() { 357void WebBrowser::ExecuteOffline() {
358 LOG_INFO(Service_AM, "Opening offline document at {}", offline_document); 358 LOG_INFO(Service_AM, "Opening offline document at {}", offline_document);
359 WebBrowserExit(WebExitReason::WindowClosed); 359 frontend.OpenLocalWebPage(offline_document,
360 [this](WebExitReason exit_reason, std::string last_url) {
361 WebBrowserExit(exit_reason, last_url);
362 });
360} 363}
361 364
362void WebBrowser::ExecuteShare() { 365void WebBrowser::ExecuteShare() {