provide DISABLE_MEM_LUTS default
authornotaz <notasas@gmail.com>
Mon, 9 Oct 2023 18:54:54 +0000 (21:54 +0300)
committernotaz <notasas@gmail.com>
Mon, 9 Oct 2023 18:54:54 +0000 (21:54 +0300)
libpcsxcore/psxmem.h

index a52472c..f3c2051 100644 (file)
@@ -116,6 +116,10 @@ extern u8 **psxMemWLUT;
 extern u8 **psxMemRLUT;
 extern int cache_isolated;
 
+#ifndef DISABLE_MEM_LUTS
+#define DISABLE_MEM_LUTS 0
+#endif
+
 static inline void * psxm_lut(u32 mem, int write, u8 **lut)
 {
        if (!DISABLE_MEM_LUTS) {