notaz.gp2x.de
/
pcsx_rearmed.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
86cf0ab
)
Fix running on CTR: dyncache mmap doesn't specify MAP_FIXED anymore
author
Yuxuan Shui
<yshuiv7@gmail.com>
Tue, 4 Apr 2017 02:32:58 +0000
(22:32 -0400)
committer
Yuxuan Shui
<yshuiv7@gmail.com>
Tue, 4 Apr 2017 02:43:46 +0000
(22:43 -0400)
frontend/3ds/sys/mman.h
patch
|
blob
|
blame
|
history
diff --git
a/frontend/3ds/sys/mman.h
b/frontend/3ds/sys/mman.h
index
e295b89
..
61dde6c
100644
(file)
--- 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)
{