[core] Fix the display of the xcz format

This commit is contained in:
PavelBARABANOV
2026-10-27 02:13:42 +03:00
parent 26a03d2473
commit 7cef75b23d
+2 -1
View File
@@ -54,7 +54,8 @@ FileType AppLoader_XCI::IdentifyType(const FileSys::VirtualFile& xci_file) {
// Identify XCI as a valid container even when it does not include a bootable Program NCA.
// Bootability is handled by AppLoader_XCI::Load().
if (xci.GetSecurePartitionNSP() != nullptr) {
return FileType::XCI;
return xci_file->GetName().ends_with(".xcz") ? FileType::XCZ
: FileType::XCI;
}
return FileType::Error;