diff options
author | Zach Hilman <zachhilman@gmail.com> | 2018-08-23 18:53:37 -0400 |
---|---|---|
committer | Zach Hilman <zachhilman@gmail.com> | 2018-08-23 18:53:37 -0400 |
commit | d1a6dd61d1e70d41cf7bc0dbf3a199cb21d8fdbd (patch) | |
tree | 9ea5cdab79109d73898bb4f957d183bfde4829b8 /src | |
parent | 4f18c17df77e791d30cc8c919108315610f315ef (diff) |
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) { if (file->GetExtension() != "nca") continue; auto nca = std::make_shared<NCA>(file); + // TODO(DarkLordZach): Add proper Rev1+ Support + if (nca->IsUpdate()) + continue; if (nca->GetType() == NCAContentType::Program) { program_nca_status = nca->GetStatus(); } |