diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/citra_qt/main.cpp | 2 | ||||
| -rw-r--r-- | src/core/loader.cpp | 3 |
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) | |||
| 142 | 142 | ||
| 143 | void GMainWindow::OnMenuLoadFile() | 143 | void GMainWindow::OnMenuLoadFile() |
| 144 | { | 144 | { |
| 145 | QString filename = QFileDialog::getOpenFileName(this, tr("Load file"), QString(), tr("3DS homebrew (*.elf *.dat *.bin)")); | 145 | QString filename = QFileDialog::getOpenFileName(this, tr("Load file"), QString(), tr("3DS homebrew (*.elf *.axf *.dat *.bin)")); |
| 146 | if (filename.size()) | 146 | if (filename.size()) |
| 147 | BootGame(filename.toLatin1().data()); | 147 | BootGame(filename.toLatin1().data()); |
| 148 | } | 148 | } |
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 | } |