mirror of
https://git.suyu.dev/suyu/suyu.git
synced 2024-11-27 01:02:48 +01:00
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.
This commit is contained in:
parent
79163fca80
commit
9968c0883a
1 changed files with 7 additions and 4 deletions
|
@ -248,10 +248,13 @@ void NSP::ReadNCAs(const std::vector<VirtualFile>& files) {
|
||||||
auto next_file = pfs->GetFile(fmt::format("{}.nca", id_string));
|
auto next_file = pfs->GetFile(fmt::format("{}.nca", id_string));
|
||||||
|
|
||||||
if (next_file == nullptr) {
|
if (next_file == nullptr) {
|
||||||
LOG_WARNING(Service_FS,
|
if (rec.type != ContentRecordType::DeltaFragment) {
|
||||||
"NCA with ID {}.nca is listed in content metadata, but cannot "
|
LOG_WARNING(Service_FS,
|
||||||
"be found in PFS. NSP appears to be corrupted.",
|
"NCA with ID {}.nca is listed in content metadata, but cannot "
|
||||||
id_string);
|
"be found in PFS. NSP appears to be corrupted.",
|
||||||
|
id_string);
|
||||||
|
}
|
||||||
|
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue