libretro / fbalpha2012

Final Burn Alpha 2012. Port of Final Burn Alpha to Libretro (0.2.97.24).
30 stars 50 forks source link

Update Android.mk #110

Closed ZacharyFoxx closed 3 years ago

ZacharyFoxx commented 3 years ago

The SFIII rom and his clones load normaly, you can go into to dipswitcch menu and change everything (level, handicap, etc.) but, after you choose you character, when the "?" rotate to show you your first opponent, the retroarch crashes.

The logcat of Android show this error:

I/DEBUG   (  107): signal 7 (SIGBUS), code 1 (BUS_ADRALN), fault addr 6fb96de6
I/DEBUG   (  107):     r0 6f4dae08  r1 00010000  r2 6fb96de6  r3 00010000
I/DEBUG   (  107):     r4 0000000f  r5 00001f48  r6 00001f48  r7 69227c78
I/DEBUG   (  107):     r8 00000055  r9 00000010  sl 6fb96de6  fp 00000000
I/DEBUG   (  107):     ip 00000045  sp 69227c48  lr 6f4dae08  pc 6a10f546  cpsr 20000030
I/DEBUG   (  107):     d0  00000a1f00000000  d1  000007883fc8c8c8
I/DEBUG   (  107):     d2  fffffb543f554d85  d3  fffff71e3f46c6c8
I/DEBUG   (  107):     d4  078805d80a1f0de8  d5  6abd1cfcfb54f5bb
I/DEBUG   (  107):     d6  6ad304486ad30308  d7  3d5e40003de8a000
I/DEBUG   (  107):     d8  0000000000000000  d9  0000000000000000
I/DEBUG   (  107):     d10 0000000000000000  d11 0000000000000000
I/DEBUG   (  107):     d12 0000000000000000  d13 0000000000000000
I/DEBUG   (  107):     d14 0000000000000000  d15 0000000000000000
I/DEBUG   (  107):     d16 0000000000000000  d17 0000000000000000
I/DEBUG   (  107):     d18 0000000000000000  d19 3f0000003f000000
I/DEBUG   (  107):     d20 3b8400003c8a4000  d21 3d4b60003dc51000
I/DEBUG   (  107):     d22 bc568000bd82e000  d23 3d2d60003db48000
I/DEBUG   (  107):     d24 3d756c7cbc528c4d  d25 3f266f3fbe2c29d4
I/DEBUG   (  107):     d26 be263e8e3f16e2fd  d27 bc4106643d6de8e6
I/DEBUG   (  107):     d28 0001000000010000  d29 0001000000010000
I/DEBUG   (  107):     d30 0003000000030000  d31 0003000000030000
I/DEBUG   (  107):     scr 6b000010
I/DEBUG   (  107): 
I/DEBUG   (  107): backtrace:
I/DEBUG   (  107):     #00  pc 002fa546  /data/data/com.retroarch.ra32/cores/fbalpha2012_libretro_android.so
I/DEBUG   (  107):     #01  pc 04908e04  <unknown>

In several cases of the same error, it would be an unaligned mem access problem.

In the QuickNes core, commit 5959457b merged on 3/30/2018 included the parameter "-DNO_UNALIGNED_ACCESS" to resolve issues 6 and 37, whose problem description resembles the one presented in issue #103.

ZacharyFoxx commented 3 years ago

Unfortunately, the problem persist.

3 differents devices and differents android versions, same problem.