Skip to content

Conversation

@362053534
Copy link
Contributor

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

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.
This reverts commit a2309a6.
@rickgaiser
Copy link
Member

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

@362053534
Copy link
Contributor Author

362053534 commented Jun 23, 2025

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.

@rickgaiser rickgaiser merged commit 27eef30 into ps2homebrew:master Jun 30, 2025
17 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants