From: Yuxuan Shui Date: Tue, 4 Apr 2017 02:32:58 +0000 (-0400) Subject: Fix running on CTR: dyncache mmap doesn't specify MAP_FIXED anymore X-Git-Tag: r24l~798^2 X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=06facfd2bdc99af1770eb1661373aa39b2abc39b;p=pcsx_rearmed.git Fix running on CTR: dyncache mmap doesn't specify MAP_FIXED anymore --- diff --git a/frontend/3ds/sys/mman.h b/frontend/3ds/sys/mman.h index e295b893..61dde6c2 100644 --- a/frontend/3ds/sys/mman.h +++ b/frontend/3ds/sys/mman.h @@ -32,7 +32,7 @@ static inline void* mmap(void *addr, size_t len, int prot, int flags, int fd, of void* addr_out; if((prot == (PROT_READ | PROT_WRITE | PROT_EXEC)) && - (flags == (MAP_FIXED | MAP_PRIVATE | MAP_ANONYMOUS))) + (flags == (MAP_PRIVATE | MAP_ANONYMOUS))) { if(__ctr_svchax) {