summaryrefslogtreecommitdiffstats
path: root/src/core
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/core/loader.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/core/loader.cpp b/src/core/loader.cpp
index c14f2259c..94b59e5da 100644
--- a/src/core/loader.cpp
+++ b/src/core/loader.cpp
@@ -120,6 +120,12 @@ FileType IdentifyFile(std::string &filename) {
else if (!strcasecmp(extension.c_str(), ".axf")) {
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")) {
return FILETYPE_CTR_BIN;
}