drc: avoid excessive recursion in hle mode
[pcsx_rearmed.git] / libpcsxcore / new_dynarec / new_dynarec_config.h
index f93613f..9687aa9 100644 (file)
@@ -6,9 +6,15 @@
 #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
+#if defined(HAVE_LIBNX)
+#define TC_WRITE_OFFSET 1
+#endif
+#if defined(_3DS)
+#define NDRC_CACHE_FLUSH_ALL 1
+#endif