diff options
author | bunnei <bunneidev@gmail.com> | 2019-01-19 12:57:09 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-01-19 12:57:09 -0500 |
commit | 83f8d1aa2ebaf47323b31ff1c5af6f0ced37bedc (patch) | |
tree | 65215c941489aaeb4df24bc913545c7e4a03b50c /src/core/hle | |
parent | 966405d64b014d15c8d5266238307754eceec23f (diff) | |
parent | 59619285438ce72a62e2e6522a9ca135419cbefd (diff) |
Merge pull request #2031 from lioncash/priv
yuzu/web_browser: Minor cleanup
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 @@ // Licensed under GPLv2 or any later version // Refer to the license.txt file included. +#include <array> +#include <cstring> +#include <vector> + +#include "common/assert.h" +#include "common/common_funcs.h" #include "common/common_paths.h" +#include "common/file_util.h" #include "common/hex_util.h" -#include "common/logging/backend.h" +#include "common/logging/log.h" #include "common/string_util.h" #include "core/core.h" #include "core/file_sys/content_archive.h" @@ -12,7 +19,6 @@ #include "core/file_sys/nca_metadata.h" #include "core/file_sys/registered_cache.h" #include "core/file_sys/romfs.h" -#include "core/file_sys/romfs_factory.h" #include "core/file_sys/vfs_types.h" #include "core/frontend/applets/web_browser.h" #include "core/hle/kernel/process.h" @@ -146,7 +152,7 @@ void WebBrowser::Execute() { return; } - const auto& frontend{Core::System::GetInstance().GetWebBrowser()}; + auto& frontend{Core::System::GetInstance().GetWebBrowser()}; frontend.OpenPage(filename, [this] { UnpackRomFS(); }, [this] { Finalize(); }); } |