Browse Source

xci: Ignore NCA files with updates in secure

pull/15/merge
Zach Hilman 8 years ago
parent
commit
d1a6dd61d1
  1. 3
      src/core/file_sys/card_image.cpp

3
src/core/file_sys/card_image.cpp

@ -149,6 +149,9 @@ Loader::ResultStatus XCI::AddNCAFromPartition(XCIPartition part) {
if (file->GetExtension() != "nca") if (file->GetExtension() != "nca")
continue; continue;
auto nca = std::make_shared<NCA>(file); auto nca = std::make_shared<NCA>(file);
// TODO(DarkLordZach): Add proper Rev1+ Support
if (nca->IsUpdate())
continue;
if (nca->GetType() == NCAContentType::Program) { if (nca->GetType() == NCAContentType::Program) {
program_nca_status = nca->GetStatus(); program_nca_status = nca->GetStatus();
} }

Loading…
Cancel
Save