aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core
diff options
context:
space:
mode:
authorGravatar bunnei <ericbunnie@gmail.com>2014-05-15 18:54:57 -0400
committerGravatar bunnei <ericbunnie@gmail.com>2014-05-15 18:54:57 -0400
commit3c240abf10c7f4f47cc6a8ad2ba6ee060abaa96b (patch)
tree10fd696e2e13ad4ade6c499162ab22f555b6694e /src/core
parent940330c6e12b3eefb9fb035f75f4b090c969cb75 (diff)
added ability to load AXF files (same as ELF)
Diffstat (limited to 'src/core')
-rw-r--r--src/core/loader.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/core/loader.cpp b/src/core/loader.cpp
index a1f5dcdb..444b75fe 100644
--- a/src/core/loader.cpp
+++ b/src/core/loader.cpp
@@ -187,6 +187,9 @@ FileType IdentifyFile(std::string &filename) {
else if (!strcasecmp(extension.c_str(), ".elf")) {
return FILETYPE_CTR_ELF; // TODO(bunnei): Do some filetype checking :p
}
+ else if (!strcasecmp(extension.c_str(), ".axf")) {
+ return FILETYPE_CTR_ELF; // TODO(bunnei): Do some filetype checking :p
+ }
else if (!strcasecmp(extension.c_str(), ".bin")) {
return FILETYPE_CTR_BIN;
}