FearlessTobi bf9f737c60 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>
2021-01-18 01:22:54 +01:00
..
2020-11-15 23:33:19 -05:00
2020-12-24 21:07:24 -03:00
2018-10-02 15:30:48 +02:00
2018-10-02 15:30:48 +02:00
2021-01-18 01:22:54 +01:00
2021-01-18 01:22:54 +01:00
2018-01-13 23:11:51 +00:00
2020-12-22 19:32:58 -05:00
2020-08-26 02:32:32 -04:00
2020-08-26 02:32:32 -04:00