aboutsummaryrefslogtreecommitdiff
path: root/src/core
diff options
context:
space:
mode:
authorZach Hilman <zachhilman@gmail.com>2018-08-23 18:53:37 -0400
committerZach Hilman <zachhilman@gmail.com>2018-08-23 18:53:37 -0400
commit7e04e10f4d1ef98eee8d442be398673cbd5469f2 (patch)
tree9ea5cdab79109d73898bb4f957d183bfde4829b8 /src/core
parent87927a3be7b8dc13aaf228716db07462d7ee87e4 (diff)
xci: Ignore NCA files with updates in secure
Diffstat (limited to 'src/core')
-rw-r--r--src/core/file_sys/card_image.cpp3
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 508f09e567..d61a2ebe15 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();
}