1
0
Fork 0
forked from suyu/suyu

xci: Ignore NCA files with updates in secure

This commit is contained in:
Zach Hilman 2018-08-23 18:53:37 -04:00
parent 4f18c17df7
commit d1a6dd61d1

View file

@ -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();
}