forked from suyu/suyu
loader: Recognize filename '00' as NCA
Needed to avoid mismatch filetype warnings on split NAND NCAs
This commit is contained in:
parent
42114e1df4
commit
5b4119fa7f
1 changed files with 2 additions and 0 deletions
|
@ -46,6 +46,8 @@ FileType IdentifyFile(FileSys::VirtualFile file) {
|
||||||
FileType GuessFromFilename(const std::string& name) {
|
FileType GuessFromFilename(const std::string& name) {
|
||||||
if (name == "main")
|
if (name == "main")
|
||||||
return FileType::DeconstructedRomDirectory;
|
return FileType::DeconstructedRomDirectory;
|
||||||
|
if (name == "00")
|
||||||
|
return FileType::NCA;
|
||||||
|
|
||||||
const std::string extension =
|
const std::string extension =
|
||||||
Common::ToLower(std::string(FileUtil::GetExtensionFromFilename(name)));
|
Common::ToLower(std::string(FileUtil::GetExtensionFromFilename(name)));
|
||||||
|
|
Loading…
Reference in a new issue