mirror of
https://github.com/PabloMK7/citra.git
synced 2024-11-20 06:24:17 +00:00
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
1 changed files with 1 additions and 1 deletions
|
@ -57,7 +57,7 @@ FileType GuessFromExtension(const std::string& extension_) {
|
|||
if (extension == ".cci" || extension == ".3ds")
|
||||
return FileType::CCI;
|
||||
|
||||
if (extension == ".cxi")
|
||||
if (extension == ".cxi" || extension == ".app")
|
||||
return FileType::CXI;
|
||||
|
||||
if (extension == ".3dsx")
|
||||
|
|
Loading…
Reference in a new issue