-
Notifications
You must be signed in to change notification settings - Fork 14
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
Add its own DMA remap implementation #14
Comments
Moving windowing HDMA to channel 0 may leave undefined behavior on upgraded ROMs because most of the third party patches uses channel 0 for DMA. |
The problem on DMA remap was that wiiqwertyuiop either missed some LM hijacks or they were added after its release:
|
Final DMA remap configuration: Moved Window HDMA from channel 0 to 1 for better compatibility. |
SA-1 Pack uses SNES general-purpose DMA for graphics decompression at WRAM, but it may fail if an interrupt occur during the transfer, invalidating it if another transfer goes on top of it.
Since the newer LM versions, FuSoYa has set all DMA channels to 2. With that:
Channel 0 - Windowing HDMA
Channel 1 - Game-logic DMA
Channel 2 - V-blank DMA
Channel 3-7 - User HDMA
Add a DMA remap implementation that respects this and fix the bug referenced on TheLX5/Powerups#30
The text was updated successfully, but these errors were encountered: