mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-01 20:18:15 +01:00
On a PSP, jr and jalr to an address with its low two bits set raise no address error: they run from the aligned address, the PC keeps no low bits, and jalr's link is unaffected (cpu/jump/unaligned, recorded on firmware 6.61). This was done only for the Media Engine. The firmware's PS1 emulator returns through such an address. The interpreters stopped there with an invalid jump, and the JITs found the block at the aligned address only if it was already compiled, and otherwise compiled one at the unaligned address. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>