barbudreadmon / fbalpha-backup-dontuse-ty

Deprecated port of Final Burn Alpha to Libretro (v0.2.97.43).
61 stars 43 forks source link

Android build failed #131

Closed sergiobenrocha2 closed 7 years ago

sergiobenrocha2 commented 7 years ago

Android build failed with .40 release

/home/buildbot/buildbot/android/libretro-fbalpha/jni/../src/cpu/i8051/mcs51ops.c:10:2: error: unknown type name 'UINT8'
  UINT8 addr = ROP_ARG(PC++);    //Grab code address byte
  ^
/home/buildbot/buildbot/android/libretro-fbalpha/jni/../src/cpu/i8051/mcs51ops.c:10:2: warning: implicit declaration of function 'ROP_ARG' [-Wimplicit-function-declaration]
/home/buildbot/buildbot/android/libretro-fbalpha/jni/../src/cpu/i8051/mcs51ops.c:10:23: error: 'PC' undeclared (first use in this function)
  UINT8 addr = ROP_ARG(PC++);    //Grab code address byte
                       ^
/home/buildbot/buildbot/android/libretro-fbalpha/jni/../src/cpu/i8051/mcs51ops.c:10:23: note: each undeclared identifier is reported only once for each function it appears in
/home/buildbot/buildbot/android/libretro-fbalpha/jni/../src/cpu/i8051/mcs51ops.c:11:2: warning: implicit declaration of function 'PUSH_PC' [-Wimplicit-function-declaration]
  PUSH_PC();        //Save PC to the stack
  ^
/home/buildbot/buildbot/android/libretro-fbalpha/jni/../src/cpu/i8051/mcs51ops.c:13:25: error: 'r' undeclared (first use in this function)
  PC = (PC & 0xf800) | ((r & 0xe0) << 3) | addr;
                         ^

http://p.0bl.net/21389

and many others

barbudreadmon commented 7 years ago

Sorry, i didn't update the Android.mk file, i'll take a look later.

sergiobenrocha2 commented 7 years ago

Fixed, thanks!