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

Loader: Added stubbed detection of CXI and CCI files.

This commit is contained in:
bunnei 2014-06-16 17:53:25 -04:00
parent 10ae45b5e7
commit 2d7c46c874

View file

@ -120,6 +120,12 @@ FileType IdentifyFile(std::string &filename) {
else if (!strcasecmp(extension.c_str(), ".axf")) { else if (!strcasecmp(extension.c_str(), ".axf")) {
return FILETYPE_CTR_ELF; // TODO(bunnei): Do some filetype checking :p return FILETYPE_CTR_ELF; // TODO(bunnei): Do some filetype checking :p
} }
else if (!strcasecmp(extension.c_str(), ".cxi")) {
return FILETYPE_CTR_CXI; // TODO(bunnei): Do some filetype checking :p
}
else if (!strcasecmp(extension.c_str(), ".cci")) {
return FILETYPE_CTR_CCI; // TODO(bunnei): Do some filetype checking :p
}
else if (!strcasecmp(extension.c_str(), ".bin")) { else if (!strcasecmp(extension.c_str(), ".bin")) {
return FILETYPE_CTR_BIN; return FILETYPE_CTR_BIN;
} }