dstt: split read SD patch to reduce patch code space#161
Closed
lifehackerhansol wants to merge 1 commit into
Closed
dstt: split read SD patch to reduce patch code space#161lifehackerhansol wants to merge 1 commit into
lifehackerhansol wants to merge 1 commit into
Conversation
Previously the main patch (prior to CMD12) was 0x78 bytes, which caused some games to fail to load. It has been split into 4 sections: - IReadSectorsPatchCode entrypoint - Apply 0x54 command - Wait for data ready loop - Transfer data loop Additionally, the CMD12 command has been split into its own file, in order to reuse this patch code in the future.
e45ce60 to
65a5d15
Compare
Contributor
Author
|
Superseded by #162 . |
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.
Previously the main patch (prior to CMD12) was 0x78 bytes, which caused some games to fail to load.
It has been split into 4 sections:
Additionally, the CMD12 command has been split into its own file, in order to reuse this patch code in the future.
Fixes most games from #111, which has a few games not working in the list due to a lack of a DMA implementation.