We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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?
to your account
Waveform of the song "Chase".
Tip: You can access the in-game music player by entering "MUSIC" in the Cheats screen.
The upper part of the waveform is unnaturally compressed.
From the I/O Viewer, I can see that the SOUNDBIAS is set to 0x4300. Changing the Bias value from 768 to 512 will eliminate the problem. The SOUNDBIAS is modified by the following code.
LDR R0, =(REG_SOUNDBIAS+1)
LDR R1, [R0] ; Misaligned 32-bit load, mGBA reads a meaningless value 0x91439143
MOVS R2, #0xC0
BICS R1, R2 ; Clear the resolution
MOVS R2, #0x40
ORRS R1, R2 ; Set the resolution to 1
STRB R1, [R0] ; Therefore, 0x43 is stored
The text was updated successfully, but these errors were encountered:
GBA Memory: Fix misaligned 32-bit I/O loads (fixes #2307)
Good catch, thanks.
Sorry, something went wrong.
@endrift Thank you. Maybe I should have mentioned that the output I expect is not come from real hardware. Please verify if necessary.
No branches or pull requests