summaryrefslogtreecommitdiff
path: root/src/core
diff options
context:
space:
mode:
authorGravatar Bakugo2019-07-01 06:46:05 +0100
committerGravatar Bakugo2019-07-01 06:46:05 +0100
commit9968c0883af49a760c6f5c1b63fef9493d32008a (patch)
treefd9c9732c1856c25fc23f14a0a8a059a5dc23fb4 /src/core
parentfile_sys/registered_cache: Ignore DeltaFragment NCAs during installation (diff)
downloadyuzu-9968c0883af49a760c6f5c1b63fef9493d32008a.tar.gz
yuzu-9968c0883af49a760c6f5c1b63fef9493d32008a.tar.xz
yuzu-9968c0883af49a760c6f5c1b63fef9493d32008a.zip
file_sys/submission_package: Don't warn about missing DeltaFragment NCAs
DeltaFragments are not useful to us and are often not included in patch NSPs.
Diffstat (limited to 'src/core')
-rw-r--r--src/core/file_sys/submission_package.cpp11
1 files changed, 7 insertions, 4 deletions
diff --git a/src/core/file_sys/submission_package.cpp b/src/core/file_sys/submission_package.cpp
index d0428a457..8b3b14e25 100644
--- a/src/core/file_sys/submission_package.cpp
+++ b/src/core/file_sys/submission_package.cpp
@@ -248,10 +248,13 @@ void NSP::ReadNCAs(const std::vector<VirtualFile>& files) {
248 auto next_file = pfs->GetFile(fmt::format("{}.nca", id_string)); 248 auto next_file = pfs->GetFile(fmt::format("{}.nca", id_string));
249 249
250 if (next_file == nullptr) { 250 if (next_file == nullptr) {
251 LOG_WARNING(Service_FS, 251 if (rec.type != ContentRecordType::DeltaFragment) {
252 "NCA with ID {}.nca is listed in content metadata, but cannot " 252 LOG_WARNING(Service_FS,
253 "be found in PFS. NSP appears to be corrupted.", 253 "NCA with ID {}.nca is listed in content metadata, but cannot "
254 id_string); 254 "be found in PFS. NSP appears to be corrupted.",
255 id_string);
256 }
257
255 continue; 258 continue;
256 } 259 }
257 260