mirror of
https://git.eden-emu.dev/eden-emu/eden
synced 2026-10-21 12:19:35 +02:00
parent
144b0502c6
commit
da7d4165ee
1 changed files with 11 additions and 0 deletions
|
|
@ -1467,6 +1467,12 @@ void ExternalContentProvider::ProcessNSP(const VirtualFile& file) {
|
|||
return;
|
||||
}
|
||||
|
||||
// Reject solid NCZ (.nsz without -B): Eden only supports block-compressed NCZ.
|
||||
if (!ContainerIsFullyBlockCompressed(nsp)) {
|
||||
LOG_DEBUG(Service_FS, "Skipping solid-compressed container: {}", file->GetName());
|
||||
return;
|
||||
}
|
||||
|
||||
LOG_DEBUG(Service_FS, "Processing NSP file: {}", file->GetName());
|
||||
AddExternalEntriesFromContainer(nsp, entries, versions, multi_version_entries);
|
||||
}
|
||||
|
|
@ -1477,6 +1483,11 @@ void ExternalContentProvider::ProcessXCI(const VirtualFile& file) {
|
|||
return;
|
||||
}
|
||||
|
||||
if (!ContainerIsFullyBlockCompressed(nsp)) {
|
||||
LOG_DEBUG(Service_FS, "Skipping solid-compressed container: {}", file->GetName());
|
||||
return;
|
||||
}
|
||||
|
||||
AddExternalEntriesFromContainer(nsp, entries, versions, multi_version_entries);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue