Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DSi-Based themes: Fix broken game detection when sorting by recent #2433

Merged
merged 1 commit into from
Jun 24, 2024

Conversation

mentusfentus
Copy link
Contributor

What's changed?

Fixes #2432: In my previous pull request, I made an oversight that broke game detection when sorting by recently played. This caused the game to launch with incorrect information, such as the wrong game type, region, or AP-patch.

This happened because the app launching code depended on the CURPOS variable, and my code modified its value right before the game launched. This led to TWLmenu failing to detect the game properly.

To fix this, the app launching code now uses the variable cursorPosOnScreen instead of CURPOS. This name matches the one used in romsel_akmenu for consistency.

Where have you tested it?

  • Nintendo DSi XL with Unlaunch
  • melonDS 0.9.5

Pull Request status

  • This PR has been tested using the latest version of devkitARM and libnds.

@RocketRobz RocketRobz merged commit d38e825 into DS-Homebrew:master Jun 24, 2024
1 check passed
@mentusfentus mentusfentus changed the title DSi-Based themes: Fix launching app with wrong info when sorting by recent DSi-Based themes: Fix broken game detection when sorting by recent Jun 24, 2024
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.

Incorrect/corrupt save location when launching any DS software after any DSiWare (or vice-versa)
2 participants