I have created a patch to pass the Game ID disc check in the USA version of Super Smash Bros Brawl.
The DSP was overwriting the Game ID when it performed a DMA call to write to ARAM at 0x00000000. This patch performs a sanity check before performing a DMA transfer.
I have also tidied up the Wii disc loading routine in BS2Emu to align it with the memory map in the Wiibrew documentation. This also makes it consistent with how the SSBB code reads the disc id.
This patch fixes issue 303 and its duplicates 417, 519, 964, 25.
Tested on debug and release on x64 with single and dual layer wii games, gc games.
EDIT: Updated the patch file. The first patch broke the sound in Wii Sports.
The DSP was overwriting the Game ID when it performed a DMA call to write to ARAM at 0x00000000. This patch performs a sanity check before performing a DMA transfer.
I have also tidied up the Wii disc loading routine in BS2Emu to align it with the memory map in the Wiibrew documentation. This also makes it consistent with how the SSBB code reads the disc id.
This patch fixes issue 303 and its duplicates 417, 519, 964, 25.
Tested on debug and release on x64 with single and dual layer wii games, gc games.
EDIT: Updated the patch file. The first patch broke the sound in Wii Sports.