mirror of
https://github.com/libretro/ari64.git
synced 2024-11-26 17:10:58 +00:00
Update
This commit is contained in:
parent
81cc84abb9
commit
d77f38ebad
@ -7121,7 +7121,7 @@ void new_dynarec_init(void)
|
||||
#else
|
||||
#ifndef NO_WRITE_EXEC
|
||||
// not all systems allow execute in data segment by default
|
||||
if (mprotect(out, 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
|
||||
|
@ -4,7 +4,7 @@
|
||||
#define USE_MINI_HT 1
|
||||
//#define REG_PREFETCH 1
|
||||
|
||||
#if defined(__MACH__) || defined(VITA) || defined(ANDROID)
|
||||
#if defined(__MACH__) || defined(VITA)
|
||||
#define NO_WRITE_EXEC 1
|
||||
#endif
|
||||
#ifdef VITA
|
||||
|
Loading…
Reference in New Issue
Block a user