diff options
| author | 2014-05-15 18:54:57 -0400 | |
|---|---|---|
| committer | 2014-05-15 18:54:57 -0400 | |
| commit | 3c240abf10c7f4f47cc6a8ad2ba6ee060abaa96b (patch) | |
| tree | 10fd696e2e13ad4ade6c499162ab22f555b6694e /src/core/loader.cpp | |
| parent | completely gutted/refactored threading code to be simpler (diff) | |
| download | yuzu-3c240abf10c7f4f47cc6a8ad2ba6ee060abaa96b.tar.gz yuzu-3c240abf10c7f4f47cc6a8ad2ba6ee060abaa96b.tar.xz yuzu-3c240abf10c7f4f47cc6a8ad2ba6ee060abaa96b.zip | |
added ability to load AXF files (same as ELF)
Diffstat (limited to 'src/core/loader.cpp')
| -rw-r--r-- | src/core/loader.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/core/loader.cpp b/src/core/loader.cpp index a1f5dcdb5..444b75feb 100644 --- a/src/core/loader.cpp +++ b/src/core/loader.cpp | |||
| @@ -187,6 +187,9 @@ FileType IdentifyFile(std::string &filename) { | |||
| 187 | else if (!strcasecmp(extension.c_str(), ".elf")) { | 187 | else if (!strcasecmp(extension.c_str(), ".elf")) { |
| 188 | return FILETYPE_CTR_ELF; // TODO(bunnei): Do some filetype checking :p | 188 | return FILETYPE_CTR_ELF; // TODO(bunnei): Do some filetype checking :p |
| 189 | } | 189 | } |
| 190 | else if (!strcasecmp(extension.c_str(), ".axf")) { | ||
| 191 | return FILETYPE_CTR_ELF; // TODO(bunnei): Do some filetype checking :p | ||
| 192 | } | ||
| 190 | else if (!strcasecmp(extension.c_str(), ".bin")) { | 193 | else if (!strcasecmp(extension.c_str(), ".bin")) { |
| 191 | return FILETYPE_CTR_BIN; | 194 | return FILETYPE_CTR_BIN; |
| 192 | } | 195 | } |