diff options
| author | Zach Hilman <zachhilman@gmail.com> | 2018-10-05 08:53:45 -0400 |
|---|---|---|
| committer | Zach Hilman <zachhilman@gmail.com> | 2018-10-05 08:53:51 -0400 |
| commit | 38c2ac95af814e21e65e2785b276c4f64bfead71 (patch) | |
| tree | 513d2b50eeb2dc24f709c7ca109b5ce5bd17d6ed /src/core/file_sys/submission_package.cpp | |
| parent | 5acaeb04c4f4ebdffda37717347f6a0c82a71aa4 (diff) | |
romfs_factory: Extract packed update setter to new function
Diffstat (limited to 'src/core/file_sys/submission_package.cpp')
| -rw-r--r-- | src/core/file_sys/submission_package.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/core/file_sys/submission_package.cpp b/src/core/file_sys/submission_package.cpp index 09bf077cd..ab5dc900c 100644 --- a/src/core/file_sys/submission_package.cpp +++ b/src/core/file_sys/submission_package.cpp @@ -259,8 +259,11 @@ void NSP::ReadNCAs(const std::vector<VirtualFile>& files) { auto next_nca = std::make_shared<NCA>(next_file); if (next_nca->GetType() == NCAContentType::Program) program_status[cnmt.GetTitleID()] = next_nca->GetStatus(); - if (next_nca->GetStatus() == Loader::ResultStatus::Success) + if (next_nca->GetStatus() == Loader::ResultStatus::Success || + (next_nca->GetStatus() == Loader::ResultStatus::ErrorMissingBKTRBaseRomFS && + (cnmt.GetTitleID() & 0x800) != 0)) { ncas_title[rec.type] = std::move(next_nca); + } } break; |
