summaryrefslogtreecommitdiffstats
path: root/src/core/file_sys/nca_patch.h
diff options
context:
space:
mode:
authorZach Hilman <zachhilman@gmail.com>2018-08-26 16:53:31 +0200
committerZach Hilman <zachhilman@gmail.com>2018-09-04 22:24:02 +0200
commit9664ce255db09f4501db642c1e82d8cf8f274a22 (patch)
tree5548a6d79f3806c64d7e0d6ee559f619dfe4c6c0 /src/core/file_sys/nca_patch.h
parentmain: Make game updates installable (diff)
downloadyuzu-9664ce255db09f4501db642c1e82d8cf8f274a22.tar
yuzu-9664ce255db09f4501db642c1e82d8cf8f274a22.tar.gz
yuzu-9664ce255db09f4501db642c1e82d8cf8f274a22.tar.bz2
yuzu-9664ce255db09f4501db642c1e82d8cf8f274a22.tar.lz
yuzu-9664ce255db09f4501db642c1e82d8cf8f274a22.tar.xz
yuzu-9664ce255db09f4501db642c1e82d8cf8f274a22.tar.zst
yuzu-9664ce255db09f4501db642c1e82d8cf8f274a22.zip
Diffstat (limited to 'src/core/file_sys/nca_patch.h')
-rw-r--r--src/core/file_sys/nca_patch.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/core/file_sys/nca_patch.h b/src/core/file_sys/nca_patch.h
index 8b8d0a4f5..0d9ad95f5 100644
--- a/src/core/file_sys/nca_patch.h
+++ b/src/core/file_sys/nca_patch.h
@@ -4,9 +4,11 @@
#pragma once
+#include <array>
+#include <vector>
+#include <common/common_funcs.h>
#include "core/crypto/key_manager.h"
#include "core/file_sys/romfs.h"
-#include "core/loader/loader.h"
namespace FileSys {
@@ -91,6 +93,7 @@ public:
std::vector<RelocationBucket> relocation_buckets, SubsectionBlock subsection,
std::vector<SubsectionBucket> subsection_buckets, bool is_encrypted,
Core::Crypto::Key128 key, u64 base_offset, u64 ivfc_offset, std::array<u8, 8> section_ctr);
+ ~BKTR() override;
size_t Read(u8* data, size_t length, size_t offset) const override;