From a925771c4c1551e42c37ac55d940d7bfa1896567 Mon Sep 17 00:00:00 2001 From: pineappleEA Date: Thu, 17 Aug 2023 00:19:06 +0200 Subject: [PATCH] early-access version 3814 --- README.md | 2 +- src/core/file_sys/card_image.cpp | 2 +- src/core/file_sys/submission_package.cpp | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index fe99f966f..ed63414c3 100755 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ yuzu emulator early access ============= -This is the source code for early-access 3813. +This is the source code for early-access 3814. ## Legal Notice diff --git a/src/core/file_sys/card_image.cpp b/src/core/file_sys/card_image.cpp index 21af37b0f..176f10433 100755 --- a/src/core/file_sys/card_image.cpp +++ b/src/core/file_sys/card_image.cpp @@ -185,7 +185,7 @@ u32 XCI::GetSystemUpdateVersion() { for (const auto& update_file : update->GetFiles()) { NCA nca{update_file}; - if (nca.GetStatus() != Loader::ResultStatus::Success) { + if (nca.GetStatus() != Loader::ResultStatus::Success || nca.GetSubdirectories().empty()) { continue; } diff --git a/src/core/file_sys/submission_package.cpp b/src/core/file_sys/submission_package.cpp index 013ad07d0..831fdac53 100755 --- a/src/core/file_sys/submission_package.cpp +++ b/src/core/file_sys/submission_package.cpp @@ -249,7 +249,7 @@ void NSP::ReadNCAs(const std::vector& files) { } const auto nca = std::make_shared(outer_file); - if (nca->GetStatus() != Loader::ResultStatus::Success) { + if (nca->GetStatus() != Loader::ResultStatus::Success || nca->GetSubdirectories().empty()) { program_status[nca->GetTitleId()] = nca->GetStatus(); continue; }