Emulator Issues #7709
closedArm32 JIT crashes on Android
0%
Description
As of PR #1070 the Arm32 JIT crashes any game on launch for Android builds. After doing some testing, I have determined that line 105 in JitArm_SystemRegisters.cpp, "STRB(tmp, R9, PPCSTATE_OFF(xer_so_ov));", is what's causing the crash. I may not be the most knowledgeable person when it comes to this, but this line looks fine to me. Removing/commenting out this line allows the JIT to start up without crashing, however of course, it isn't able to run the games; the best you'll get is the yellow text in the top-left corner. Of course, an easy fix to this would be to simply have some more instructions that fall back to the interpreter, however the Arm32 JIT already has enough of that. Since I can't find the issue or even really understand why it's an issue in the first place, I bring my information here for someone else to try and solve. It appears to be an issue with "xer_so_ov", since "xer_ca" seems to work just fine with "STRB(tmp, R9, PPCSTATE_OFF(xer_ca));"