This commit is contained in:
PavelBARABANOV
2026-10-19 17:29:29 +03:00
parent 0b6f102d5d
commit 469aa1e3d6
+1 -3
View File
@@ -7,7 +7,6 @@
#include <vector>
#include "common/common_types.h"
#include "common/string_util.h"
#include "core/core.h"
#include "core/file_sys/common_funcs.h"
#include "core/file_sys/content_archive.h"
@@ -57,9 +56,8 @@ AppLoader_NSP::AppLoader_NSP(FileSys::VirtualFile file_,
AppLoader_NSP::~AppLoader_NSP() = default;
FileType AppLoader_NSP::IdentifyType(const FileSys::VirtualFile& nsp_file) {
const auto name = Common::ToLower(nsp_file->GetName());
// .nsz is NSP-compatible; return NSZ so the game list shows the right type.
if (name.ends_with(".nsz")) {
if (nsp_file->GetName().ends_with(".nsz")) {
return FileType::NSZ;
}