cdrom: more hacks for more timing issues
[pcsx_rearmed.git] / deps / lightrec / regcache.h
index b919ce0..23a775c 100644 (file)
@@ -7,8 +7,9 @@
 #define __REGCACHE_H__
 
 #include "lightning-wrapper.h"
+#include "lightrec-config.h"
 
-#if defined(__sh__)
+#if defined(__sh__) && OPT_SH4_USE_GBR
 #  define NUM_REGS JIT_V_NUM
 #  define LIGHTREC_REG_STATE _GBR
 #else