Closed Gericom closed 11 months ago
Verified to not crash without jit. Seems like it could be related to the iwram code that is copied just before starting the new game. Around address 0x030068AC.
Patches for running without jit:
*(vu32*)0x022000C4 = 0xE1890090; // msr cpsr_cf, r0 *(vu32*)0x022000D0 = 0xE1890090; // msr cpsr_cf, r0 *(vu32*)0x022001F8 = 0xE1A00093; // mrs r3, cpsr *(vu32*)0x02200204 = 0xE1890093; // msr cpsr_cf, r3 *(vu32*)0x02200218 = 0xE1A00093; // mrs r3, cpsr *(vu32*)0x02200224 = 0xE1890093; // msr cpsr_cf, r3 *(vu32*)0x0220026C = 0xE1E00090; // mrs r0, spsr *(vu32*)0x0220031C = 0xE1A00093; // mrs r3, cpsr *(vu32*)0x02200328 = 0xE1890093; // msr cpsr_cf, r3 *(vu32*)0x02200348 = 0xE1A00093; // mrs r3, cpsr *(vu32*)0x02200354 = 0xE1890093; // msr cpsr_cf, r3 *(vu32*)0x02200364 = 0xE1C90090; // msr spsr_cf, r0
Verified to not crash without jit. Seems like it could be related to the iwram code that is copied just before starting the new game. Around address 0x030068AC.
Patches for running without jit: