core/loader: avoid "different type" warning for .app
Previously for installed titles, the file type would be NCCH (assumed as CXI) and the extension would be ".app". This would trigger a warning of the file "having a different type than its extension", which is actually not true here.
This commit is contained in:
parent
bf6da61da5
commit
4fb16098a4
|
@ -57,7 +57,7 @@ FileType GuessFromExtension(const std::string& extension_) {
|
||||||
if (extension == ".cci" || extension == ".3ds")
|
if (extension == ".cci" || extension == ".3ds")
|
||||||
return FileType::CCI;
|
return FileType::CCI;
|
||||||
|
|
||||||
if (extension == ".cxi")
|
if (extension == ".cxi" || extension == ".app")
|
||||||
return FileType::CXI;
|
return FileType::CXI;
|
||||||
|
|
||||||
if (extension == ".3dsx")
|
if (extension == ".3dsx")
|
||||||
|
|
Loading…
Reference in New Issue