Loader: Added stubbed detection of CXI and CCI files.
This commit is contained in:
parent
10ae45b5e7
commit
2d7c46c874
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
Reference in New Issue