summaryrefslogtreecommitdiffstats
path: root/src/core/hle/service/am
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2019-01-19 18:57:09 +0100
committerGitHub <noreply@github.com>2019-01-19 18:57:09 +0100
commit83f8d1aa2ebaf47323b31ff1c5af6f0ced37bedc (patch)
tree65215c941489aaeb4df24bc913545c7e4a03b50c /src/core/hle/service/am
parentMerge pull request #2033 from ReinUsesLisp/fixup-clip-warning (diff)
parentcore/frontend/applets/web_browser: Include missing headers (diff)
downloadyuzu-83f8d1aa2ebaf47323b31ff1c5af6f0ced37bedc.tar
yuzu-83f8d1aa2ebaf47323b31ff1c5af6f0ced37bedc.tar.gz
yuzu-83f8d1aa2ebaf47323b31ff1c5af6f0ced37bedc.tar.bz2
yuzu-83f8d1aa2ebaf47323b31ff1c5af6f0ced37bedc.tar.lz
yuzu-83f8d1aa2ebaf47323b31ff1c5af6f0ced37bedc.tar.xz
yuzu-83f8d1aa2ebaf47323b31ff1c5af6f0ced37bedc.tar.zst
yuzu-83f8d1aa2ebaf47323b31ff1c5af6f0ced37bedc.zip
Diffstat (limited to 'src/core/hle/service/am')
-rw-r--r--src/core/hle/service/am/applets/web_browser.cpp12
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(); });
}