X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=libpcsxcore%2Fnew_dynarec%2Fnew_dynarec_config.h;h=5aee85df15e6971f70fc13296ec007df84a7bff9;hb=3f4fa7fc3a9a0226079d2a463e9fb1f9aaa90fae;hp=3b00780e2605193aa6c7f874dd72520f68bf09da;hpb=70575e81838e2c8d842dd28c3fc7fbb91b395061;p=pcsx_rearmed.git diff --git a/libpcsxcore/new_dynarec/new_dynarec_config.h b/libpcsxcore/new_dynarec/new_dynarec_config.h index 3b00780e..5aee85df 100644 --- a/libpcsxcore/new_dynarec/new_dynarec_config.h +++ b/libpcsxcore/new_dynarec/new_dynarec_config.h @@ -1,15 +1,20 @@ -#ifndef __NEW_DYNAREC_CONFIG_H__ -#define __NEW_DYNAREC_CONFIG_H__ +#ifdef __arm__ #define CORTEX_A8_BRANCH_PREDICTION_HACK 1 +#endif + #define USE_MINI_HT 1 //#define REG_PREFETCH 1 -#if defined(__MACH__) +#if defined(__MACH__) || defined(HAVE_LIBNX) #define NO_WRITE_EXEC 1 #endif -#ifdef VITA +#if defined(VITA) || defined(HAVE_LIBNX) #define BASE_ADDR_DYNAMIC 1 #endif - -#endif /* __NEW_DYNAREC_CONFIG_H__ */ +#if defined(HAVE_LIBNX) +#define NDRC_WRITE_OFFSET 1 +#endif +#if defined(HAVE_LIBNX) || defined(_3DS) +#define NDRC_CACHE_FLUSH_ALL 1 +#endif