dstt: add DMA support#162
Merged
Merged
Conversation
f3dbcca to
e035bf2
Compare
Contributor
Author
|
Currently this isn't checking for contiguous blocks properly, so this patch may break on fragmented SDs. working on it |
e035bf2 to
02abcb0
Compare
Contributor
Author
|
This is now fixed. |
Gericom
reviewed
May 3, 2026
Gericom
reviewed
May 3, 2026
Gericom
reviewed
May 3, 2026
Gericom
reviewed
May 3, 2026
Gericom
reviewed
May 3, 2026
Gericom
reviewed
May 3, 2026
Gericom
reviewed
May 3, 2026
Gericom
reviewed
May 3, 2026
d984ddc to
b7deba3
Compare
Gericom
reviewed
May 3, 2026
Gericom
reviewed
May 3, 2026
Gericom
reviewed
May 3, 2026
Gericom
reviewed
May 3, 2026
Gericom
reviewed
May 3, 2026
14f01fd to
817559f
Compare
Gericom
reviewed
May 3, 2026
Contributor
|
Could you also update the changelog (rebase first). The change in patch size is a fix and the dma an addition. |
Previously the main patch (prior to CMD12) was 0x78 bytes, which caused some games to fail to load. It has been split into 2 sections: - IReadSectorsPatchCode entrypoint - A helper function that contains 3 patches: - 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.
Gericom
reviewed
May 3, 2026
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 comes in two parts.
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:
This fixes most of the issues seen in #111 , except games that require DMA.
Additionally, the CMD12 command has been split into its own file. Which is then used in the DMA patch code, which fully resolves #111.