mirror of
https://git.eden-emu.dev/eden-emu/eden
synced 2026-11-11 16:50:19 +01:00
fix
This commit is contained in:
parent
597bed3ca0
commit
516d95513b
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue