summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorZach Hilman <zachhilman@gmail.com>2018-08-24 00:53:37 +0200
committerZach Hilman <zachhilman@gmail.com>2018-08-24 00:53:37 +0200
commitd1a6dd61d1e70d41cf7bc0dbf3a199cb21d8fdbd (patch)
tree9ea5cdab79109d73898bb4f957d183bfde4829b8 /src
parentcontent_archive: Add update title detection (diff)
downloadyuzu-d1a6dd61d1e70d41cf7bc0dbf3a199cb21d8fdbd.tar
yuzu-d1a6dd61d1e70d41cf7bc0dbf3a199cb21d8fdbd.tar.gz
yuzu-d1a6dd61d1e70d41cf7bc0dbf3a199cb21d8fdbd.tar.bz2
yuzu-d1a6dd61d1e70d41cf7bc0dbf3a199cb21d8fdbd.tar.lz
yuzu-d1a6dd61d1e70d41cf7bc0dbf3a199cb21d8fdbd.tar.xz
yuzu-d1a6dd61d1e70d41cf7bc0dbf3a199cb21d8fdbd.tar.zst
yuzu-d1a6dd61d1e70d41cf7bc0dbf3a199cb21d8fdbd.zip
Diffstat (limited to 'src')
-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 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();
}