mirror of
https://git.eden-emu.dev/eden-emu/eden
synced 2026-11-13 14:21:18 +01:00
f
This commit is contained in:
parent
516d95513b
commit
36fec60cd6
1 changed files with 1 additions and 3 deletions
|
|
@ -7,7 +7,6 @@
|
||||||
#include <vector>
|
#include <vector>
|
||||||
|
|
||||||
#include "common/common_types.h"
|
#include "common/common_types.h"
|
||||||
#include "common/string_util.h"
|
|
||||||
#include "core/core.h"
|
#include "core/core.h"
|
||||||
#include "core/file_sys/common_funcs.h"
|
#include "core/file_sys/common_funcs.h"
|
||||||
#include "core/file_sys/content_archive.h"
|
#include "core/file_sys/content_archive.h"
|
||||||
|
|
@ -57,9 +56,8 @@ 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 (nsp_file->GetName().ends_with(".nsz")) {
|
||||||
return FileType::NSZ;
|
return FileType::NSZ;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue