From 8947b735f9f6d1906365954784236f562f9d6f8d Mon Sep 17 00:00:00 2001 From: ptitSeb Date: Sat, 9 Sep 2023 17:35:17 +0200 Subject: Go back to use mmap for memory allocation, as some OS restric malloc'd memory to not being runnable (might help #939, #935 and #487, probably other) --- src/custommem.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/custommem.c b/src/custommem.c index 3ec46783..690a24aa 100644 --- a/src/custommem.c +++ b/src/custommem.c @@ -30,7 +30,7 @@ #include "dynarec/native_lock.h" #include "dynarec/dynarec_next.h" -//#define USE_MMAP +#define USE_MMAP // init inside dynablocks.c static mmaplist_t *mmaplist = NULL; -- cgit 1.4.1