libretro, build fixes for ios

This commit is contained in:
kub 2020-07-13 07:20:04 +02:00
parent 18538b2ce8
commit 35984c2198
8 changed files with 127 additions and 5 deletions

View file

@ -693,9 +693,9 @@ static int tr_aop_ssp2arm(int op)
/* spacial version of call for calling C needed on ios, since we use r9.. */
static void emith_call_c_func(void *target)
{
EOP_STMFD_SP(A_R7M|A_R9M);
EOP_STMFD_SP(M2(7,9));
emith_call(target);
EOP_LDMFD_SP(A_R7M|A_R9M);
EOP_LDMFD_SP(M2(7,9));
}
#else
#define emith_call_c_func emith_call