From 7cef75b23d6f4bde053919b36017b887628c4697 Mon Sep 17 00:00:00 2001 From: PavelBARABANOV Date: Tue, 27 Oct 2026 02:13:42 +0300 Subject: [PATCH] [core] Fix the display of the xcz format --- src/core/loader/xci.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/core/loader/xci.cpp b/src/core/loader/xci.cpp index 983184a226..afc332cbab 100644 --- a/src/core/loader/xci.cpp +++ b/src/core/loader/xci.cpp @@ -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;