diff options
author | bunnei <ericbunnie@gmail.com> | 2014-06-16 23:53:25 +0200 |
---|---|---|
committer | bunnei <ericbunnie@gmail.com> | 2014-06-16 23:53:25 +0200 |
commit | 2d7c46c874bdaebec09116c6aa0620026f5dc180 (patch) | |
tree | f4aad61e5d3ee65c9536ce3ab814f9f5fb31e69f | |
parent | Loader: Removed unused CXI and DAT loading code. (diff) | |
download | yuzu-2d7c46c874bdaebec09116c6aa0620026f5dc180.tar yuzu-2d7c46c874bdaebec09116c6aa0620026f5dc180.tar.gz yuzu-2d7c46c874bdaebec09116c6aa0620026f5dc180.tar.bz2 yuzu-2d7c46c874bdaebec09116c6aa0620026f5dc180.tar.lz yuzu-2d7c46c874bdaebec09116c6aa0620026f5dc180.tar.xz yuzu-2d7c46c874bdaebec09116c6aa0620026f5dc180.tar.zst yuzu-2d7c46c874bdaebec09116c6aa0620026f5dc180.zip |
-rw-r--r-- | src/core/loader.cpp | 6 |
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; } |