2
1
Fork 0
mirror of https://github.com/yuzu-emu/yuzu.git synced 2024-07-04 23:31:19 +01:00

loader: Recognize filename '00' as NCA

Needed to avoid mismatch filetype warnings on split NAND NCAs
This commit is contained in:
Zach Hilman 2018-08-09 20:47:46 -04:00
parent 42114e1df4
commit 5b4119fa7f

View file

@ -46,6 +46,8 @@ FileType IdentifyFile(FileSys::VirtualFile file) {
FileType GuessFromFilename(const std::string& name) {
if (name == "main")
return FileType::DeconstructedRomDirectory;
if (name == "00")
return FileType::NCA;
const std::string extension =
Common::ToLower(std::string(FileUtil::GetExtensionFromFilename(name)));