diff options
Diffstat (limited to 'src/core/hle')
| -rw-r--r-- | src/core/hle/service/am/applets/web_browser.cpp | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/src/core/hle/service/am/applets/web_browser.cpp b/src/core/hle/service/am/applets/web_browser.cpp index d975207f5..9b0aa7f5f 100644 --- a/src/core/hle/service/am/applets/web_browser.cpp +++ b/src/core/hle/service/am/applets/web_browser.cpp | |||
| @@ -2,9 +2,16 @@ | |||
| 2 | // Licensed under GPLv2 or any later version | 2 | // Licensed under GPLv2 or any later version |
| 3 | // Refer to the license.txt file included. | 3 | // Refer to the license.txt file included. |
| 4 | 4 | ||
| 5 | #include <array> | ||
| 6 | #include <cstring> | ||
| 7 | #include <vector> | ||
| 8 | |||
| 9 | #include "common/assert.h" | ||
| 10 | #include "common/common_funcs.h" | ||
| 5 | #include "common/common_paths.h" | 11 | #include "common/common_paths.h" |
| 12 | #include "common/file_util.h" | ||
| 6 | #include "common/hex_util.h" | 13 | #include "common/hex_util.h" |
| 7 | #include "common/logging/backend.h" | 14 | #include "common/logging/log.h" |
| 8 | #include "common/string_util.h" | 15 | #include "common/string_util.h" |
| 9 | #include "core/core.h" | 16 | #include "core/core.h" |
| 10 | #include "core/file_sys/content_archive.h" | 17 | #include "core/file_sys/content_archive.h" |
| @@ -12,7 +19,6 @@ | |||
| 12 | #include "core/file_sys/nca_metadata.h" | 19 | #include "core/file_sys/nca_metadata.h" |
| 13 | #include "core/file_sys/registered_cache.h" | 20 | #include "core/file_sys/registered_cache.h" |
| 14 | #include "core/file_sys/romfs.h" | 21 | #include "core/file_sys/romfs.h" |
| 15 | #include "core/file_sys/romfs_factory.h" | ||
| 16 | #include "core/file_sys/vfs_types.h" | 22 | #include "core/file_sys/vfs_types.h" |
| 17 | #include "core/frontend/applets/web_browser.h" | 23 | #include "core/frontend/applets/web_browser.h" |
| 18 | #include "core/hle/kernel/process.h" | 24 | #include "core/hle/kernel/process.h" |
| @@ -146,7 +152,7 @@ void WebBrowser::Execute() { | |||
| 146 | return; | 152 | return; |
| 147 | } | 153 | } |
| 148 | 154 | ||
| 149 | const auto& frontend{Core::System::GetInstance().GetWebBrowser()}; | 155 | auto& frontend{Core::System::GetInstance().GetWebBrowser()}; |
| 150 | 156 | ||
| 151 | frontend.OpenPage(filename, [this] { UnpackRomFS(); }, [this] { Finalize(); }); | 157 | frontend.OpenPage(filename, [this] { UnpackRomFS(); }, [this] { Finalize(); }); |
| 152 | } | 158 | } |