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 _romselakmenu for consistency.
Where have you tested it?
Nintendo DSi XL with Unlaunch
melonDS 0.9.5
Pull Request status
[X] This PR has been tested using the latest version of devkitARM and libnds.
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 ofCURPOS
. This name matches the one used in _romselakmenu for consistency.Where have you tested it?
Pull Request status