about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorptitSeb <seebastien.chev@gmail.com>2023-09-09 16:21:16 +0200
committerptitSeb <seebastien.chev@gmail.com>2023-09-09 16:21:16 +0200
commitedba2a2e96ca446b22d9258f27250408db2eb949 (patch)
tree28788b8f395cbe45ac9be044d8dd8db85ab59928
parent81e8ce495273834ccec0f8ae26ee88f776fbeac1 (diff)
downloadbox64-edba2a2e96ca446b22d9258f27250408db2eb949.tar.gz
box64-edba2a2e96ca446b22d9258f27250408db2eb949.zip
Improved default box64rc
-rw-r--r--src/tools/rcfile.c3
-rw-r--r--system/box64.box64rc13
2 files changed, 14 insertions, 2 deletions
diff --git a/src/tools/rcfile.c b/src/tools/rcfile.c
index 8db7b0a6..2a044bb6 100644
--- a/src/tools/rcfile.c
+++ b/src/tools/rcfile.c
@@ -22,6 +22,9 @@
 
 // default rcfile
 static const char default_rcfile[] = 
+"[bash]\n"
+"BOX64_LOG=0\n"
+"\n"
 "[deadcells]\n"
 "BOX64_PREFER_EMULATED=1\n"
 "\n"
diff --git a/system/box64.box64rc b/system/box64.box64rc
index ae2dfba2..a8549670 100644
--- a/system/box64.box64rc
+++ b/system/box64.box64rc
@@ -22,6 +22,10 @@ BOX64_DYNAREC_BIGBLOCK=2
 BOX64_DYNAREC_FORWARD=512
 BOX64_DYNAREC_CALLRET=1
 
+[bash]
+# LOG tend to mess up script execution in bash
+BOX64_LOG=0
+
 [chrome]
 BOX64_MALLOC_HACK=2
 
@@ -78,6 +82,13 @@ BOX64_DYNAREC_JVM=0
 # This is needed or the physics engine will not behave correctly
 BOX64_DYNAREC_FASTROUND=0
 
+[spotify]
+BOX64_NOSANDBOX=1
+BOX64_DYNAREC_STRONGMEM=1
+BOX64_MALLOC_HACK=2
+# this is to save some memory
+BOX64_DYNAREC_BIGBLOCK=0
+
 [steam]
 BOX64_CRASHHANDLER=1
 BOX64_EMULATED_LIBS=libudev.so.0
@@ -91,8 +102,6 @@ BOX64_LOG=0
 BOX64_MALLOC_HACK=2
 # this is to save some memory
 BOX64_DYNAREC_BIGBLOCK=0
-# if steamwebhelper takes too much memory, enable next line to disable it
-#BOX64_EXIT=1
 
 [steam-runtime-check-requirements]
 BOX64_EXIT=1