summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorbunnei <ericbunnie@gmail.com>2014-05-16 00:54:57 +0200
committerbunnei <ericbunnie@gmail.com>2014-05-16 00:54:57 +0200
commit3c240abf10c7f4f47cc6a8ad2ba6ee060abaa96b (patch)
tree10fd696e2e13ad4ade6c499162ab22f555b6694e /src
parentcompletely gutted/refactored threading code to be simpler (diff)
downloadyuzu-3c240abf10c7f4f47cc6a8ad2ba6ee060abaa96b.tar
yuzu-3c240abf10c7f4f47cc6a8ad2ba6ee060abaa96b.tar.gz
yuzu-3c240abf10c7f4f47cc6a8ad2ba6ee060abaa96b.tar.bz2
yuzu-3c240abf10c7f4f47cc6a8ad2ba6ee060abaa96b.tar.lz
yuzu-3c240abf10c7f4f47cc6a8ad2ba6ee060abaa96b.tar.xz
yuzu-3c240abf10c7f4f47cc6a8ad2ba6ee060abaa96b.tar.zst
yuzu-3c240abf10c7f4f47cc6a8ad2ba6ee060abaa96b.zip
Diffstat (limited to 'src')
-rw-r--r--src/citra_qt/main.cpp2
-rw-r--r--src/core/loader.cpp3
2 files changed, 4 insertions, 1 deletions
diff --git a/src/citra_qt/main.cpp b/src/citra_qt/main.cpp
index 76e0c68c3..9be982909 100644
--- a/src/citra_qt/main.cpp
+++ b/src/citra_qt/main.cpp
@@ -142,7 +142,7 @@ void GMainWindow::BootGame(const char* filename)
void GMainWindow::OnMenuLoadFile()
{
- QString filename = QFileDialog::getOpenFileName(this, tr("Load file"), QString(), tr("3DS homebrew (*.elf *.dat *.bin)"));
+ QString filename = QFileDialog::getOpenFileName(this, tr("Load file"), QString(), tr("3DS homebrew (*.elf *.axf *.dat *.bin)"));
if (filename.size())
BootGame(filename.toLatin1().data());
}
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) {
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;
}