summaryrefslogtreecommitdiffstats
path: root/src/core/file_sys/registered_cache.h
diff options
context:
space:
mode:
authorZach Hilman <zachhilman@gmail.com>2018-08-25 17:50:04 +0200
committerZach Hilman <zachhilman@gmail.com>2018-09-04 20:28:41 +0200
commitf7eaea424d07e971d0279257d20d408b64ef05b6 (patch)
tree4ddf73c89c0b2a88cecb7b508c9ef5d680b506c7 /src/core/file_sys/registered_cache.h
parentloader: Add AppLoader for NSP files (diff)
downloadyuzu-f7eaea424d07e971d0279257d20d408b64ef05b6.tar
yuzu-f7eaea424d07e971d0279257d20d408b64ef05b6.tar.gz
yuzu-f7eaea424d07e971d0279257d20d408b64ef05b6.tar.bz2
yuzu-f7eaea424d07e971d0279257d20d408b64ef05b6.tar.lz
yuzu-f7eaea424d07e971d0279257d20d408b64ef05b6.tar.xz
yuzu-f7eaea424d07e971d0279257d20d408b64ef05b6.tar.zst
yuzu-f7eaea424d07e971d0279257d20d408b64ef05b6.zip
Diffstat (limited to 'src/core/file_sys/registered_cache.h')
-rw-r--r--src/core/file_sys/registered_cache.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/core/file_sys/registered_cache.h b/src/core/file_sys/registered_cache.h
index fe2cdc3d9..50e26f8fb 100644
--- a/src/core/file_sys/registered_cache.h
+++ b/src/core/file_sys/registered_cache.h
@@ -89,10 +89,12 @@ public:
boost::optional<ContentRecordType> record_type = boost::none,
boost::optional<u64> title_id = boost::none) const;
- // Raw copies all the ncas from the xci to the csache. Does some quick checks to make sure there
- // is a meta NCA and all of them are accessible.
+ // Raw copies all the ncas from the xci/nsp to the csache. Does some quick checks to make sure
+ // there is a meta NCA and all of them are accessible.
InstallResult InstallEntry(std::shared_ptr<XCI> xci, bool overwrite_if_exists = false,
const VfsCopyFunction& copy = &VfsRawCopy);
+ InstallResult InstallEntry(std::shared_ptr<NSP> nsp, bool overwrite_if_exists = false,
+ const VfsCopyFunction& copy = &VfsRawCopy);
// Due to the fact that we must use Meta-type NCAs to determine the existance of files, this
// poses quite a challenge. Instead of creating a new meta NCA for this file, yuzu will create a