about summary refs log tree commit diff stats
path: root/src/librarian
diff options
context:
space:
mode:
authorptitSeb <sebastien.chev@gmail.com>2021-11-18 14:18:00 +0100
committerptitSeb <sebastien.chev@gmail.com>2021-11-18 14:18:00 +0100
commit4f0e98ade5d37b8647cb5d39b6e5a3aded55fa2f (patch)
tree8f0fe7ffefe4a4396a9556b1d37035da4e229ffb /src/librarian
parent39dbfd9fd8c1cadf1a909029236dec973b190a3c (diff)
downloadbox64-4f0e98ade5d37b8647cb5d39b6e5a3aded55fa2f.tar.gz
box64-4f0e98ade5d37b8647cb5d39b6e5a3aded55fa2f.zip
[DYNAREC] Added an option to simulate Strong Memory Model, and auto activate it when libmonobdgcw-2.0.so is detected (should help #110 and #158 at least)
Diffstat (limited to 'src/librarian')
-rwxr-xr-xsrc/librarian/library.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/librarian/library.c b/src/librarian/library.c
index eb9a4459..86638591 100755
--- a/src/librarian/library.c
+++ b/src/librarian/library.c
@@ -264,8 +264,9 @@ static int loadEmulatedLib(const char* libname, library_t *lib, box64context_t*
         printf_log(LOG_INFO, "Using emulated %s\n", libname);
         #ifdef DYNAREC
         if(libname && strstr(libname, "libmonobdwgc-2.0.so")) {
-            printf_log(LOG_INFO, "MonoBleedingEdge detected, disable Dynarec BigBlock\n");
+            printf_log(LOG_INFO, "MonoBleedingEdge detected, disable Dynarec BigBlock and enable Dynarec StrongMem\n");
             box64_dynarec_bigblock = 0;
+            box64_dynarec_strongmem = 1;
         }
         #endif
         return 1;