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));"
Updated by Sonicadvance1 about 10 years ago
It's probably some quirky alignment nonsense happening.
I planned on looking at it before going to California, it's going to have to wait until I get back.
Updated by Sonicadvance1 about 10 years ago
- Status changed from Accepted to Work started
Should be fixed in https://github.com/dolphin-emu/dolphin/pull/1237
Updated by Sonicadvance1 about 10 years ago
- Status changed from Work started to Fixed