Browse Source

Merge pull request #9467 from german77/folder

yuzu: Remember last selected directory
liamwhite 3 năm trước cách đây
mục cha
commit
ee71404d71
1 tập tin đã thay đổi với 3 bổ sung0 xóa
  1. 3 0
      src/yuzu/main.cpp

+ 3 - 0
src/yuzu/main.cpp

@@ -2661,6 +2661,9 @@ void GMainWindow::OnMenuInstallToNAND() {
         return;
     }
 
+    // Save folder location of the first selected file
+    UISettings::values.roms_path = QFileInfo(filenames[0]).path();
+
     int remaining = filenames.size();
 
     // This would only overflow above 2^43 bytes (8.796 TB)