Merge pull request #9467 from german77/folder

yuzu: Remember last selected directory
This commit is contained in:
liamwhite 2022-12-18 10:21:33 -05:00 committed by GitHub
commit ee71404d71
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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)