Przeglądaj źródła

Merge pull request #9467 from german77/folder

yuzu: Remember last selected directory
liamwhite 3 lat temu
rodzic
commit
ee71404d71
1 zmienionych plików z 3 dodań i 0 usunięć
  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)