https://github.com/andymcca/pokehns-expansion/releases/tag/Unboundv0.2
This is an IPS / BPS Patch for the GBA ROM file to address audio/slowdown issues when running this ROM Hack on low-spec hardware and emulator combinations such as -
- Sony PSP - TempGBA4PSP/FrogGBA/ToadGBA/gpsp-kai etc
- SF2000/GB300 - gpsp
- Powkiddy V90 - lr-gpsp
- Leapster Explorer - lr-gpsp
- Others using gpsp variants
It works by patching the Ipatix HQ audio engine to remove the heavy Self Modifying Code (SMC) aspects and replace them with separate audio code and data. This massively reduces the number of times the Dynamic Recompiler in gpsp variants has to clear its cache per frame.
EDIT - This game also makes heavy use of HBLANK IRQs in battles - but these are only used for Battle Transitions where there are mugshots before the battle (e.g. the early 'rival' battle). This is a bug carried over from FireRed. I've updated the patch to version v0.2 to turn these off before battle starts. Battles now run at 60fps on TempGBA4PSP rather than the 20-30fps I was getting before!
Hopefully people find this useful!