diff options
author | liamwhite <liamwhite@users.noreply.github.com> | 2022-12-18 10:21:33 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-12-18 10:21:33 -0500 |
commit | ee71404d7166fc652573e8bfb9c9b87b7ad36ebc (patch) | |
tree | c5b8c56d32d0dd9365ab8ed6ba2233372551c2c1 /src | |
parent | dcc8abf2540ea5f19093c15566e03176bed305af (diff) | |
parent | c218c7d4da427a924bf935d8e5e6be04f7e43da5 (diff) |
Merge pull request #9467 from german77/folder
yuzu: Remember last selected directory
Diffstat (limited to 'src')
-rw-r--r-- | src/yuzu/main.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/yuzu/main.cpp b/src/yuzu/main.cpp index 2e6c2311a..fe140dce0 100644 --- a/src/yuzu/main.cpp +++ b/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) |