summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2018-09-05 18:06:47 +0200
committerLioncash <mathew1800@gmail.com>2018-09-05 18:08:04 +0200
commitc0b7ed8b58017bf3640015cfd7ef0b2ab44e23bb (patch)
treee9a420e3df4acc4eb59d15d32362bcc35f1de32e
parentMerge pull request #1217 from degasus/vbo_cache2 (diff)
downloadyuzu-c0b7ed8b58017bf3640015cfd7ef0b2ab44e23bb.tar
yuzu-c0b7ed8b58017bf3640015cfd7ef0b2ab44e23bb.tar.gz
yuzu-c0b7ed8b58017bf3640015cfd7ef0b2ab44e23bb.tar.bz2
yuzu-c0b7ed8b58017bf3640015cfd7ef0b2ab44e23bb.tar.lz
yuzu-c0b7ed8b58017bf3640015cfd7ef0b2ab44e23bb.tar.xz
yuzu-c0b7ed8b58017bf3640015cfd7ef0b2ab44e23bb.tar.zst
yuzu-c0b7ed8b58017bf3640015cfd7ef0b2ab44e23bb.zip
-rw-r--r--src/core/file_sys/submission_package.cpp8
-rw-r--r--src/core/file_sys/submission_package.h13
2 files changed, 15 insertions, 6 deletions
diff --git a/src/core/file_sys/submission_package.cpp b/src/core/file_sys/submission_package.cpp
index bde879861..97aa5713d 100644
--- a/src/core/file_sys/submission_package.cpp
+++ b/src/core/file_sys/submission_package.cpp
@@ -2,9 +2,15 @@
// Licensed under GPLv2 or any later version
// Refer to the license.txt file included.
+#include <algorithm>
+#include <cstring>
+#include <string_view>
+
#include <fmt/ostream.h>
-#include "common/assert.h"
+
#include "common/hex_util.h"
+#include "common/logging/log.h"
+#include "core/crypto/key_manager.h"
#include "core/file_sys/content_archive.h"
#include "core/file_sys/nca_metadata.h"
#include "core/file_sys/partition_filesystem.h"
diff --git a/src/core/file_sys/submission_package.h b/src/core/file_sys/submission_package.h
index 0292164f9..1120a4920 100644
--- a/src/core/file_sys/submission_package.h
+++ b/src/core/file_sys/submission_package.h
@@ -4,20 +4,23 @@
#pragma once
-#include <array>
#include <map>
+#include <memory>
#include <vector>
#include "common/common_types.h"
-#include "common/swap.h"
-#include "core/file_sys/content_archive.h"
-#include "core/file_sys/romfs_factory.h"
#include "core/file_sys/vfs.h"
-#include "core/loader/loader.h"
+
+namespace Loader {
+enum class ResultStatus : u16;
+}
namespace FileSys {
+class NCA;
class PartitionFilesystem;
+enum class ContentRecordType : u8;
+
class NSP : public ReadOnlyVfsDirectory {
public:
explicit NSP(VirtualFile file);