aboutsummaryrefslogtreecommitdiff
path: root/frontend
diff options
context:
space:
mode:
authorYuxuan Shui2017-04-03 22:32:58 -0400
committerYuxuan Shui2017-04-03 22:43:46 -0400
commit06facfd2bdc99af1770eb1661373aa39b2abc39b (patch)
tree25984cbf79b9e8d3cfe4e36a808d46fd7acb202e /frontend
parent86cf0ab71e58da64cf72b94577de9d8cb189ce36 (diff)
downloadpcsx_rearmed-06facfd2bdc99af1770eb1661373aa39b2abc39b.tar.gz
pcsx_rearmed-06facfd2bdc99af1770eb1661373aa39b2abc39b.tar.bz2
pcsx_rearmed-06facfd2bdc99af1770eb1661373aa39b2abc39b.zip
Fix running on CTR: dyncache mmap doesn't specify MAP_FIXED anymore
Diffstat (limited to 'frontend')
-rw-r--r--frontend/3ds/sys/mman.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/frontend/3ds/sys/mman.h b/frontend/3ds/sys/mman.h
index e295b89..61dde6c 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)
{