about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorptitSeb <sebastien.chev@gmail.com>2023-06-02 17:42:12 +0200
committerptitSeb <sebastien.chev@gmail.com>2023-06-02 17:42:21 +0200
commit4f1cefec30a71ddf5f05c218bbe4d7a947fed624 (patch)
tree02c4587a9393cecbb91f55d09a168bad2b662d5f
parent5e19c8f142a11bca2613c1e54004bb848e08ac6a (diff)
downloadbox64-4f1cefec30a71ddf5f05c218bbe4d7a947fed624.tar.gz
box64-4f1cefec30a71ddf5f05c218bbe4d7a947fed624.zip
Added some more setup for Project Zomboid (should help #112)
-rwxr-xr-xsrc/emu/x64syscall.c2
-rw-r--r--system/box64.box64rc1
2 files changed, 3 insertions, 0 deletions
diff --git a/src/emu/x64syscall.c b/src/emu/x64syscall.c
index c426cd32..347def6e 100755
--- a/src/emu/x64syscall.c
+++ b/src/emu/x64syscall.c
@@ -216,6 +216,8 @@ scwrap_t syscallwrap[] = {
     { 233, __NR_epoll_ctl, 4},
     #endif
     { 234, __NR_tgkill, 3},
+    { 238, __NR_set_mempolicy, 3},
+    { 239, __NR_get_mempolicy, 5},
     { 247, __NR_waitid, 5},
     #ifdef __NR_inotify_init
     { 253, __NR_inotify_init, 0},   //0xFD
diff --git a/system/box64.box64rc b/system/box64.box64rc
index 648d9eb0..c2519df6 100644
--- a/system/box64.box64rc
+++ b/system/box64.box64rc
@@ -69,6 +69,7 @@ BOX64_NOGTK=1
 # This one is still a bit unstable. This might help, but will also slowdown emulation
 BOX64_DYNAREC_STRONGMEM=2
 BOX64_DYNAREC_SAFEFLAGS=2
+BOX64_DYNAREC_JVM=0
 
 [Soma.bin.x86_64]
 # This is needed or the physics engine will not behave correctly