diff options
author | bunnei <bunneidev@gmail.com> | 2015-01-05 05:10:04 +0100 |
---|---|---|
committer | bunnei <bunneidev@gmail.com> | 2015-01-05 05:10:04 +0100 |
commit | 81e255a41122884721648ddbf34232821f37a721 (patch) | |
tree | 3c8e8bf08c590ccd3b609b2293c26d95f758f566 | |
parent | Merge pull request #408 from Subv/mutex (diff) | |
parent | Fix correct espace (diff) | |
download | yuzu-81e255a41122884721648ddbf34232821f37a721.tar yuzu-81e255a41122884721648ddbf34232821f37a721.tar.gz yuzu-81e255a41122884721648ddbf34232821f37a721.tar.bz2 yuzu-81e255a41122884721648ddbf34232821f37a721.tar.lz yuzu-81e255a41122884721648ddbf34232821f37a721.tar.xz yuzu-81e255a41122884721648ddbf34232821f37a721.tar.zst yuzu-81e255a41122884721648ddbf34232821f37a721.zip |
-rw-r--r-- | src/citra_qt/main.cpp | 2 | ||||
-rw-r--r-- | src/core/loader/loader.cpp | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/src/citra_qt/main.cpp b/src/citra_qt/main.cpp index 88f959d9a..64e389f25 100644 --- a/src/citra_qt/main.cpp +++ b/src/citra_qt/main.cpp @@ -179,7 +179,7 @@ void GMainWindow::BootGame(std::string filename) void GMainWindow::OnMenuLoadFile() { - QString filename = QFileDialog::getOpenFileName(this, tr("Load File"), QString(), tr("3DS executable (*.3dsx *.elf *.axf *.bin *.cci *.cxi)")); + QString filename = QFileDialog::getOpenFileName(this, tr("Load File"), QString(), tr("3DS executable (*.3ds *.3dsx *.elf *.axf *.bin *.cci *.cxi)")); if (filename.size()) BootGame(filename.toLatin1().data()); } diff --git a/src/core/loader/loader.cpp b/src/core/loader/loader.cpp index 87580cb2a..45cf425df 100644 --- a/src/core/loader/loader.cpp +++ b/src/core/loader/loader.cpp @@ -45,6 +45,8 @@ FileType IdentifyFile(const std::string &filename) { return FileType::CCI; } else if (extension == ".bin") { return FileType::BIN; + } else if (extension == ".3ds") { + return FileType::CCI; } else if (extension == ".3dsx") { return FileType::THREEDSX; } |