From 492a6fbbc06968dd93f7ec470327b0e463d9f3ed Mon Sep 17 00:00:00 2001 From: notaz Date: Mon, 9 Oct 2023 21:54:54 +0300 Subject: [PATCH] provide DISABLE_MEM_LUTS default --- libpcsxcore/psxmem.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/libpcsxcore/psxmem.h b/libpcsxcore/psxmem.h index a52472c6..f3c2051b 100644 --- a/libpcsxcore/psxmem.h +++ b/libpcsxcore/psxmem.h @@ -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) { -- 2.39.5