aboutsummaryrefslogtreecommitdiff
path: root/libpcsxcore/new_dynarec
diff options
context:
space:
mode:
authorFrancisco José García García2016-10-04 23:32:21 +0200
committerFrancisco José García García2016-10-04 23:32:21 +0200
commitc531825f5fb898ca6639ab314a5a92725b8c259a (patch)
tree78074ea7096618133f6883fa9eac8e4fcb1a5923 /libpcsxcore/new_dynarec
parentfc7f8b604caf63053f960ca1944e8d2de9f1858e (diff)
downloadpcsx_rearmed-c531825f5fb898ca6639ab314a5a92725b8c259a.tar.gz
pcsx_rearmed-c531825f5fb898ca6639ab314a5a92725b8c259a.tar.bz2
pcsx_rearmed-c531825f5fb898ca6639ab314a5a92725b8c259a.zip
(VITA) Use RWX path
Diffstat (limited to 'libpcsxcore/new_dynarec')
-rw-r--r--libpcsxcore/new_dynarec/new_dynarec.c2
-rw-r--r--libpcsxcore/new_dynarec/new_dynarec_config.h2
2 files changed, 3 insertions, 1 deletions
diff --git a/libpcsxcore/new_dynarec/new_dynarec.c b/libpcsxcore/new_dynarec/new_dynarec.c
index f81e991..d2cd270 100644
--- a/libpcsxcore/new_dynarec/new_dynarec.c
+++ b/libpcsxcore/new_dynarec/new_dynarec.c
@@ -7105,6 +7105,8 @@ void new_dynarec_init(void)
int ret = sceKernelGetMemBlockBase(sceBlock, (void **)&translation_cache);
if (ret < 0)
SysPrintf("sceKernelGetMemBlockBase failed\n");
+
+ sceKernelOpenVMDomain();
sceClibPrintf("translation_cache = 0x%08X \n ", translation_cache);
#elif defined(_MSC_VER)
base_addr = VirtualAlloc(NULL, 1<<TARGET_SIZE_2, MEM_COMMIT | MEM_RESERVE,
diff --git a/libpcsxcore/new_dynarec/new_dynarec_config.h b/libpcsxcore/new_dynarec/new_dynarec_config.h
index fbd08ac..d55f128 100644
--- a/libpcsxcore/new_dynarec/new_dynarec_config.h
+++ b/libpcsxcore/new_dynarec/new_dynarec_config.h
@@ -4,7 +4,7 @@
#define USE_MINI_HT 1
//#define REG_PREFETCH 1
-#if defined(__MACH__) || defined(VITA)
+#if defined(__MACH__)
#define NO_WRITE_EXEC 1
#endif
#ifdef VITA