From: notaz Date: Mon, 9 Oct 2023 18:54:54 +0000 (+0300) Subject: provide DISABLE_MEM_LUTS default X-Git-Tag: r24~122 X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=78a6da0cc3511f4159bf2c648e7e72dc13204492;p=pcsx_rearmed.git provide DISABLE_MEM_LUTS default --- 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) {