diff options
Diffstat (limited to 'src/citra_qt/main.cpp')
| -rw-r--r-- | src/citra_qt/main.cpp | 14 |
1 files changed, 1 insertions, 13 deletions
diff --git a/src/citra_qt/main.cpp b/src/citra_qt/main.cpp index 8adbcfe86..943aee30d 100644 --- a/src/citra_qt/main.cpp +++ b/src/citra_qt/main.cpp | |||
| @@ -39,7 +39,6 @@ | |||
| 39 | #include "common/scope_exit.h" | 39 | #include "common/scope_exit.h" |
| 40 | #include "common/string_util.h" | 40 | #include "common/string_util.h" |
| 41 | #include "core/core.h" | 41 | #include "core/core.h" |
| 42 | #include "core/file_sys/archive_source_sd_savedata.h" | ||
| 43 | #include "core/gdbstub/gdbstub.h" | 42 | #include "core/gdbstub/gdbstub.h" |
| 44 | #include "core/loader/loader.h" | 43 | #include "core/loader/loader.h" |
| 45 | #include "core/settings.h" | 44 | #include "core/settings.h" |
| @@ -541,18 +540,7 @@ void GMainWindow::OnGameListLoadFile(QString game_path) { | |||
| 541 | } | 540 | } |
| 542 | 541 | ||
| 543 | void GMainWindow::OnGameListOpenSaveFolder(u64 program_id) { | 542 | void GMainWindow::OnGameListOpenSaveFolder(u64 program_id) { |
| 544 | std::string sdmc_dir = FileUtil::GetUserPath(D_SDMC_IDX); | 543 | UNIMPLEMENTED(); |
| 545 | std::string path = FileSys::ArchiveSource_SDSaveData::GetSaveDataPathFor(sdmc_dir, program_id); | ||
| 546 | QString qpath = QString::fromStdString(path); | ||
| 547 | |||
| 548 | QDir dir(qpath); | ||
| 549 | if (!dir.exists()) { | ||
| 550 | QMessageBox::critical(this, tr("Error Opening Save Folder"), tr("Folder does not exist!")); | ||
| 551 | return; | ||
| 552 | } | ||
| 553 | |||
| 554 | LOG_INFO(Frontend, "Opening save data path for program_id=%" PRIu64, program_id); | ||
| 555 | QDesktopServices::openUrl(QUrl::fromLocalFile(qpath)); | ||
| 556 | } | 544 | } |
| 557 | 545 | ||
| 558 | void GMainWindow::OnMenuLoadFile() { | 546 | void GMainWindow::OnMenuLoadFile() { |