aboutsummaryrefslogtreecommitdiff
path: root/src/core/file_sys/registered_cache.h
diff options
context:
space:
mode:
authorLiam <byteslice@airmail.cc>2023-09-11 23:50:36 -0400
committerLiam <byteslice@airmail.cc>2023-09-12 09:20:50 -0400
commitf8985d1cc5f7378ab2bca2526a61d6aff778d36e (patch)
treee7f492f817486b30549351951163df3ac0b8f20e /src/core/file_sys/registered_cache.h
parent66f2947854f993f9d907ddc9c23f7e28aa12f330 (diff)
qt: add verification for installed contents
Diffstat (limited to 'src/core/file_sys/registered_cache.h')
-rw-r--r--src/core/file_sys/registered_cache.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/core/file_sys/registered_cache.h b/src/core/file_sys/registered_cache.h
index bd7f53eaf..64815a845 100644
--- a/src/core/file_sys/registered_cache.h
+++ b/src/core/file_sys/registered_cache.h
@@ -24,6 +24,7 @@ enum class NCAContentType : u8;
enum class TitleType : u8;
struct ContentRecord;
+struct CNMTHeader;
struct MetaRecord;
class RegisteredCache;
@@ -169,6 +170,10 @@ public:
InstallResult InstallEntry(const NCA& nca, TitleType type, bool overwrite_if_exists = false,
const VfsCopyFunction& copy = &VfsRawCopy);
+ InstallResult InstallEntry(const NCA& nca, const CNMTHeader& base_header,
+ const ContentRecord& base_record, bool overwrite_if_exists = false,
+ const VfsCopyFunction& copy = &VfsRawCopy);
+
// Removes an existing entry based on title id
bool RemoveExistingEntry(u64 title_id) const;