Open-PS2-Loader icon indicating copy to clipboard operation
Open-PS2-Loader copied to clipboard

Fixed a bug related to "remember last played game"

Open 362053534 opened this issue 6 months ago • 2 comments

When the first game in "gUpdateList" is the "last played game" but doesn't appear at the top of the GameList when "automatic sorting" is enabled, then "remember last played game" will not function.

Pull Request checklist

Note: these are not necessarily requirements

I reformatted the code with clang-format I checked to make sure my submission worked

362053534 avatar Jun 14 '25 06:06 362053534

Can someone confirm this bug exists, and test if this PR fixes the issue?

rickgaiser avatar Jun 23 '25 07:06 rickgaiser

Can someone confirm this bug exists, and test if this PR fixes the issue?

This bug can be reproduced easily: 1.Ensure that both “Automatic Sorting” and “Remember Last Played Game” are enabled. 2.First, place z.iso in the DVD folder and launch OPL to generate the games.bin file. 3.Next, add a.iso to the DVD folder, Launch OPL again and run z.iso. 4.After completing the above steps, the “Remember Last Played Game” feature will no longer function. When you launch OPL the next time, the cursor will remain on a.iso instead of z.iso.

362053534 avatar Jun 23 '25 20:06 362053534