summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar german772022-12-18 00:36:21 -0600
committerGravatar german772022-12-18 00:37:06 -0600
commitc218c7d4da427a924bf935d8e5e6be04f7e43da5 (patch)
treeffafb3337c63afe45b3112bbad6b2c02d524a00d
parentEnable compiler optimizations and enforce x86-64-v2 on GCC/Clang (#9442) (diff)
downloadyuzu-c218c7d4da427a924bf935d8e5e6be04f7e43da5.tar.gz
yuzu-c218c7d4da427a924bf935d8e5e6be04f7e43da5.tar.xz
yuzu-c218c7d4da427a924bf935d8e5e6be04f7e43da5.zip
yuzu: Remember last selected directory
-rw-r--r--src/yuzu/main.cpp3
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)