-
Notifications
You must be signed in to change notification settings - Fork 319
[Libretro] Savestates not working on android #331
Comments
|
here is my raw log of the crash https://paste.ee/p/lJSFk |
@SourMesen is there anything i could help with to fix this? I really wait for it to fix so i can use the core on my android |
I currently do not have any way to debug this easily - unless someone else with better knowledge of android software tries to debug the issue on their end, or gives me more detailed information about the crash, it's unlikely I can fix this anytime soon. |
@fr500 Is this the Shield Tablet? It and a bunch of other random android devices have kernels that don't allow unaligned memory access. Same thing happens with bsnes and some other cores. The giveaway is this line in the log:
It may be possible to fix this in software with a compiler-specific alignment keyword (I think one core was fixed this way already), the problem is finding out where it's needed and why. |
nice hope we can fix it! |
@bparker06 it was on my Tegra X1 device |
@bparker06 i think i found the compiler-specific alignment in here libretro/QuickNES_Core#41 can you confirm this? and maybe someone can test it |
another log
|
As of the latest android build, this should be fixed (3e6f107). Thanks for the unaligned memory hint, wouldn't have noticed it in the crash myself! Unsure if the "update core" option will work at the moment since the build in the "latest" folder on the buildbot was built manually by bparker (thanks!), but the next android build the buildbot makes should be working properly. |
The Core Updater only grabs from the "latest" folder, so it should work fine. |
Awesome! Just tested it and it works fine :) thanks |
Managed to get a quick test case going after the build worked and I noticed savestates don't work. I'm getting a crash on load state.
I'll try to investigate.
The text was updated successfully, but these errors were encountered: