loveemu / gaxtapper

Automated GSF ripper for GAX Sound Engine (beta-testing)
GNU General Public License v3.0
8 stars 1 forks source link

IWRAM conflict between Gaxtapper and GAX (Maya the Bee: Sweet Gold) #7

Closed loveemu closed 3 years ago

loveemu commented 3 years ago

All songs do not work because the driver freezes in gax_play.

The issue is caused by IWRAM conflict between the Gaxtapper driver and GAX. The GAX driver works with a RAM area given by the user, but uses a fixed area to store its address to a pointer. Maya's pointer address is 0x30003D0, and since Gaxtapper uses more than 0x400 bytes of memory from around 0x30000A4, these will conflict.

Note that the address of the pointer may also point to EWRAM sometimes. (The Powerpuff Girls: Him and Seek (USA) = 0x2003ADC)

loveemu commented 3 years ago

It is not very difficult to make the buffer address for GAX patchable.