drc: avoid some header includes when not needed
authornotaz <notasas@gmail.com>
Thu, 13 Feb 2025 23:04:47 +0000 (01:04 +0200)
committernotaz <notasas@gmail.com>
Thu, 13 Feb 2025 23:04:47 +0000 (01:04 +0200)
libpcsxcore/new_dynarec/emu_if.c

index 1698b9f..cefadd2 100644 (file)
@@ -21,7 +21,7 @@
 #include "arm_features.h"
 #define FLAGLESS
 #include "../gte.h"
-#ifdef NDRC_THREAD
+#if defined(NDRC_THREAD) && !defined(DRC_DISABLE) && !defined(LIGHTREC)
 #include "../../frontend/libretro-rthreads.h"
 #include "features/features_cpu.h"
 #include "retro_timers.h"