mirror of
https://git.suyu.dev/suyu/suyu
synced 2026-03-14 17:11:07 +00:00
file_sys: tolerate empty NCA
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user