aboutsummaryrefslogtreecommitdiff
path: root/libpcsxcore/new_dynarec/new_dynarec.c
diff options
context:
space:
mode:
authormeepingsnesroms2017-09-01 11:21:48 -0700
committerGitHub2017-09-01 11:21:48 -0700
commit6c5b8733e0b286d5a4b4d9b7899e4c17a92cd04a (patch)
tree924720c49ac10c9ab3c98e3d3e06c8f4a06bc33c /libpcsxcore/new_dynarec/new_dynarec.c
parent646a63e41c53e5c1c971a4e305d4627dcee43c5e (diff)
parent874706c9a527d43f1a737b772225c120da86c31e (diff)
downloadpcsx_rearmed-6c5b8733e0b286d5a4b4d9b7899e4c17a92cd04a.tar.gz
pcsx_rearmed-6c5b8733e0b286d5a4b4d9b7899e4c17a92cd04a.tar.bz2
pcsx_rearmed-6c5b8733e0b286d5a4b4d9b7899e4c17a92cd04a.zip
Merge pull request #2 from libretro/master
Update from master
Diffstat (limited to 'libpcsxcore/new_dynarec/new_dynarec.c')
-rw-r--r--libpcsxcore/new_dynarec/new_dynarec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libpcsxcore/new_dynarec/new_dynarec.c b/libpcsxcore/new_dynarec/new_dynarec.c
index d2cd270..dfa17a7 100644
--- a/libpcsxcore/new_dynarec/new_dynarec.c
+++ b/libpcsxcore/new_dynarec/new_dynarec.c
@@ -7123,7 +7123,7 @@ void new_dynarec_init(void)
#else
#ifndef NO_WRITE_EXEC
// not all systems allow execute in data segment by default
- if (mprotect((void*)BASE_ADDR, 1<<TARGET_SIZE_2, PROT_READ | PROT_WRITE | PROT_EXEC) != 0)
+ if (mprotect((void *)BASE_ADDR, 1<<TARGET_SIZE_2, PROT_READ | PROT_WRITE | PROT_EXEC) != 0)
SysPrintf("mprotect() failed: %s\n", strerror(errno));
#endif
#endif