mirror of
https://github.com/citra-emu/citra.git
synced 2024-11-15 08:40:06 +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
@ -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 New Issue
Block a user