diff options
| author | 2018-08-23 18:53:37 -0400 | |
|---|---|---|
| committer | 2018-08-23 18:53:37 -0400 | |
| commit | d1a6dd61d1e70d41cf7bc0dbf3a199cb21d8fdbd (patch) | |
| tree | 9ea5cdab79109d73898bb4f957d183bfde4829b8 /src | |
| parent | content_archive: Add update title detection (diff) | |
| download | yuzu-d1a6dd61d1e70d41cf7bc0dbf3a199cb21d8fdbd.tar.gz yuzu-d1a6dd61d1e70d41cf7bc0dbf3a199cb21d8fdbd.tar.xz yuzu-d1a6dd61d1e70d41cf7bc0dbf3a199cb21d8fdbd.zip | |
xci: Ignore NCA files with updates in secure
Diffstat (limited to 'src')
| -rw-r--r-- | src/core/file_sys/card_image.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/core/file_sys/card_image.cpp b/src/core/file_sys/card_image.cpp index 508f09e56..d61a2ebe1 100644 --- a/src/core/file_sys/card_image.cpp +++ b/src/core/file_sys/card_image.cpp | |||
| @@ -149,6 +149,9 @@ Loader::ResultStatus XCI::AddNCAFromPartition(XCIPartition part) { | |||
| 149 | if (file->GetExtension() != "nca") | 149 | if (file->GetExtension() != "nca") |
| 150 | continue; | 150 | continue; |
| 151 | auto nca = std::make_shared<NCA>(file); | 151 | auto nca = std::make_shared<NCA>(file); |
| 152 | // TODO(DarkLordZach): Add proper Rev1+ Support | ||
| 153 | if (nca->IsUpdate()) | ||
| 154 | continue; | ||
| 152 | if (nca->GetType() == NCAContentType::Program) { | 155 | if (nca->GetType() == NCAContentType::Program) { |
| 153 | program_nca_status = nca->GetStatus(); | 156 | program_nca_status = nca->GetStatus(); |
| 154 | } | 157 | } |