Explorar el Código

Merge pull request #9467 from german77/folder

yuzu: Remember last selected directory
liamwhite hace 3 años
padre
commit
ee71404d71
Se han modificado 1 ficheros con 3 adiciones y 0 borrados
  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)