Merge in cheat changes from upstream / Add cheat support for pico-loader#42
Merged
coderkei merged 10 commits intocoderkei:mainfrom Apr 8, 2026
Merged
Merge in cheat changes from upstream / Add cheat support for pico-loader#42coderkei merged 10 commits intocoderkei:mainfrom
coderkei merged 10 commits intocoderkei:mainfrom
Conversation
- cCheat: for things that only need access to database and not the GUI - cCheatWnd: for the GUI
This is to allow using them outside of the cCheat class (i.e. to maintain a separate list.) Rename these items so the names make sense after moving out.
Now that there is a dedicated class that doesn't involve importing cForm, use it directly.
This is needed by Pico Loader, which requires cheats to be split into its individual entries rather than a dump of all codes at once (which is how akloader, nds-bootstrap and YSMenu operate.)
This function doesn't need the cForm that comes with it. Actually it doesn't do much at all other than check if cheats are available.
these are unused and incompatible with the cheat changes. best remove them
Most of the work was done by upstream, I have adapted it to work with the current akmenu-next launcher code. Co-Authored-By: lifehackerhansol <lifehackerhansol@ds-homebrew.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR merges in the cheat changes from upstream. They've been adapted to work with akmenu-next's current codebase. Cheats are now split up into two separate classes. cCheat will handle all the cheat processing stuff. cCheatWnd will only be used for the cheat setting window. As a bonus, cheat support is now available for pico-loader users.
Semi-related to the cheat changes, I have removed the TT/AK launcher code from akmenu-next. They have remained unused since the start of the project, yet were still being compiled into the code. Keeping them in the source code would mean adapting them to the new cheat system, which doesn't really seem to be worth it if we do not intend to use them.