diff options
author | Bakugo <bakugo@b4k.co> | 2019-07-01 07:46:05 +0200 |
---|---|---|
committer | Bakugo <bakugo@b4k.co> | 2019-07-01 07:46:05 +0200 |
commit | 9968c0883af49a760c6f5c1b63fef9493d32008a (patch) | |
tree | fd9c9732c1856c25fc23f14a0a8a059a5dc23fb4 /src/core | |
parent | file_sys/registered_cache: Ignore DeltaFragment NCAs during installation (diff) | |
download | yuzu-9968c0883af49a760c6f5c1b63fef9493d32008a.tar yuzu-9968c0883af49a760c6f5c1b63fef9493d32008a.tar.gz yuzu-9968c0883af49a760c6f5c1b63fef9493d32008a.tar.bz2 yuzu-9968c0883af49a760c6f5c1b63fef9493d32008a.tar.lz yuzu-9968c0883af49a760c6f5c1b63fef9493d32008a.tar.xz yuzu-9968c0883af49a760c6f5c1b63fef9493d32008a.tar.zst yuzu-9968c0883af49a760c6f5c1b63fef9493d32008a.zip |
Diffstat (limited to 'src/core')
-rw-r--r-- | src/core/file_sys/submission_package.cpp | 11 |
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) { auto next_file = pfs->GetFile(fmt::format("{}.nca", id_string)); if (next_file == nullptr) { - LOG_WARNING(Service_FS, - "NCA with ID {}.nca is listed in content metadata, but cannot " - "be found in PFS. NSP appears to be corrupted.", - id_string); + if (rec.type != ContentRecordType::DeltaFragment) { + LOG_WARNING(Service_FS, + "NCA with ID {}.nca is listed in content metadata, but cannot " + "be found in PFS. NSP appears to be corrupted.", + id_string); + } + continue; } |