2
1
Fork 0
mirror of https://github.com/yuzu-emu/yuzu.git synced 2024-07-04 23:31:19 +01:00

yuzu: Remember last selected directory

This commit is contained in:
german77 2022-12-18 00:36:21 -06:00
parent fd1ea0fd84
commit c218c7d4da

View file

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