Skip to content

VERY experimental Nintendo Switch 2 emulator

C++

xci: Ignore NCA files with updates in secure

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