forked from eden-emu/eden
file_sys: tolerate empty NCA
This commit is contained in:
parent
1cecd1d96a
commit
a1ea1c3dd3
3 changed files with 3 additions and 3 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue