X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;ds=sidebyside;f=libpcsxcore%2Fnew_dynarec%2Femu_if.c;h=56c6b77a99adb7a77a4466ba88ec1d8490f34fcc;hb=2f546f9ace7c7e4b0957aff512dc0616b01b3976;hp=f65e5bd55a3db71e989d6c41aebc2281a26651f6;hpb=bedfea3863c3c48699048ea0d6dd07893221403c;p=pcsx_rearmed.git diff --git a/libpcsxcore/new_dynarec/emu_if.c b/libpcsxcore/new_dynarec/emu_if.c index f65e5bd5..56c6b77a 100644 --- a/libpcsxcore/new_dynarec/emu_if.c +++ b/libpcsxcore/new_dynarec/emu_if.c @@ -190,13 +190,19 @@ static int ari64_init() #if !defined(DRC_DBG) && !defined(PCNT) #ifdef __arm__ gte_handlers[0x06] = gteNCLIP_arm; + gte_handlers_nf[0x01] = gteRTPS_nf_arm; + gte_handlers_nf[0x30] = gteRTPT_nf_arm; #endif #ifdef __ARM_NEON__ // compiler's _nf version is still a lot slower then neon + // _nf_arm RTPS is roughly the same, RTPT slower gte_handlers[0x01] = gte_handlers_nf[0x01] = gteRTPS_neon; gte_handlers[0x30] = gte_handlers_nf[0x30] = gteRTPT_neon; gte_handlers[0x12] = gte_handlers_nf[0x12] = gteMVMVA_neon; #endif +#endif +#ifdef DRC_DBG + memcpy(gte_handlers_nf, gte_handlers, sizeof(gte_handlers_nf)); #endif psxH_ptr = psxH; @@ -294,6 +300,7 @@ unsigned short hword; unsigned char byte; int pending_exception, stop; unsigned int next_interupt; +int new_dynarec_did_compile; void *psxH_ptr; void new_dynarec_init() {} void new_dyna_start() {}