diff options
| author | 2022-12-18 00:36:21 -0600 | |
|---|---|---|
| committer | 2022-12-18 00:37:06 -0600 | |
| commit | c218c7d4da427a924bf935d8e5e6be04f7e43da5 (patch) | |
| tree | ffafb3337c63afe45b3112bbad6b2c02d524a00d /src | |
| parent | Enable compiler optimizations and enforce x86-64-v2 on GCC/Clang (#9442) (diff) | |
| download | yuzu-c218c7d4da427a924bf935d8e5e6be04f7e43da5.tar.gz yuzu-c218c7d4da427a924bf935d8e5e6be04f7e43da5.tar.xz yuzu-c218c7d4da427a924bf935d8e5e6be04f7e43da5.zip | |
yuzu: Remember last selected directory
Diffstat (limited to 'src')
| -rw-r--r-- | src/yuzu/main.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/yuzu/main.cpp b/src/yuzu/main.cpp index 2e6c2311a..fe140dce0 100644 --- a/src/yuzu/main.cpp +++ b/src/yuzu/main.cpp | |||
| @@ -2661,6 +2661,9 @@ void GMainWindow::OnMenuInstallToNAND() { | |||
| 2661 | return; | 2661 | return; |
| 2662 | } | 2662 | } |
| 2663 | 2663 | ||
| 2664 | // Save folder location of the first selected file | ||
| 2665 | UISettings::values.roms_path = QFileInfo(filenames[0]).path(); | ||
| 2666 | |||
| 2664 | int remaining = filenames.size(); | 2667 | int remaining = filenames.size(); |
| 2665 | 2668 | ||
| 2666 | // This would only overflow above 2^43 bytes (8.796 TB) | 2669 | // This would only overflow above 2^43 bytes (8.796 TB) |