diff --git a/src/core/loader/nsp.cpp b/src/core/loader/nsp.cpp index b90629983c..3b9112642e 100644 --- a/src/core/loader/nsp.cpp +++ b/src/core/loader/nsp.cpp @@ -7,7 +7,6 @@ #include #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; }