mirror of
https://git.eden-emu.dev/eden-emu/eden.git
synced 2026-10-28 02:03:50 +00:00
fix
This commit is contained in:
@@ -57,7 +57,7 @@ AppLoader_NSP::AppLoader_NSP(FileSys::VirtualFile file_,
|
|||||||
AppLoader_NSP::~AppLoader_NSP() = default;
|
AppLoader_NSP::~AppLoader_NSP() = default;
|
||||||
|
|
||||||
FileType AppLoader_NSP::IdentifyType(const FileSys::VirtualFile& nsp_file) {
|
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.
|
// .nsz is NSP-compatible; return NSZ so the game list shows the right type.
|
||||||
if (name.ends_with(".nsz")) {
|
if (name.ends_with(".nsz")) {
|
||||||
return FileType::NSZ;
|
return FileType::NSZ;
|
||||||
|
|||||||
Reference in New Issue
Block a user