mirror of
https://git.eden-emu.dev/eden-emu/eden
synced 2026-10-20 23:20:36 +02:00
stub
This commit is contained in:
parent
9bc3503525
commit
710c927ff8
1 changed files with 7 additions and 0 deletions
|
|
@ -7,6 +7,7 @@
|
|||
#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"
|
||||
|
|
@ -56,6 +57,12 @@ AppLoader_NSP::AppLoader_NSP(FileSys::VirtualFile file_,
|
|||
AppLoader_NSP::~AppLoader_NSP() = default;
|
||||
|
||||
FileType AppLoader_NSP::IdentifyType(const FileSys::VirtualFile& nsp_file) {
|
||||
|
||||
// .nsz is NSP-compatible; return NSZ so the game list shows the right type.
|
||||
if (name.ends_with(".nsz")) {
|
||||
return FileType::NSZ;
|
||||
}
|
||||
|
||||
const FileSys::NSP nsp(nsp_file);
|
||||
|
||||
if (nsp.GetStatus() != ResultStatus::Success) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue