diff options
| author | 2021-01-18 01:22:54 +0100 | |
|---|---|---|
| committer | 2021-01-18 01:22:54 +0100 | |
| commit | bf9f737c609a2831ad52aab68030fb888c64bd01 (patch) | |
| tree | bcfaf2a20101d921925d34c0dac02b6c0a60b562 /src/core/frontend/emu_window.cpp | |
| parent | Merge pull request #5360 from ReinUsesLisp/enforce-memclass-access (diff) | |
| download | yuzu-bf9f737c609a2831ad52aab68030fb888c64bd01.tar.gz yuzu-bf9f737c609a2831ad52aab68030fb888c64bd01.tar.xz yuzu-bf9f737c609a2831ad52aab68030fb888c64bd01.zip | |
game_list: Fix folder reordering
The bug(s) happened because we swapped the contents on values.game_dirs, but the pointer each item had to their respective game_dir wasn't updated. This made it so that the item had the wrong game_dir associated with it after a "move up" or "move down" operation. It can be observed by choosing "open directory location" after such operation.
Changed from raw pointer to an index because it's equivalent but a bit clearer, but the change is not essential.
Co-Authored-By: Vitor K <29167336+vitor-k@users.noreply.github.com>
Diffstat (limited to 'src/core/frontend/emu_window.cpp')
0 files changed, 0 insertions, 0 deletions