about summary refs log tree commit diff stats
path: root/src/librarian
diff options
context:
space:
mode:
authorptitSeb <sebastien.chev@gmail.com>2023-10-18 17:18:50 +0200
committerptitSeb <sebastien.chev@gmail.com>2023-10-18 17:18:50 +0200
commit0481589615582cfd7ef737ac90ccb9a9a19f3d41 (patch)
tree3f9f25db6e8cd7d1ed1c228117fd0e3eb3fc6a9b /src/librarian
parent6ef2b22a3ce4aaf5df5069dab226c1eeab806b19 (diff)
downloadbox64-0481589615582cfd7ef737ac90ccb9a9a19f3d41.tar.gz
box64-0481589615582cfd7ef737ac90ccb9a9a19f3d41.zip
[ARM64_DYNAREC] More changes to Strong memory model emulation
Diffstat (limited to 'src/librarian')
-rw-r--r--src/librarian/library.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/librarian/library.c b/src/librarian/library.c
index c8438f1b..a64ea596 100644
--- a/src/librarian/library.c
+++ b/src/librarian/library.c
@@ -316,6 +316,10 @@ static int loadEmulatedLib(const char* libname, library_t *lib, box64context_t*
             box64_dynarec_bigblock = 0;
             box64_dynarec_strongmem = 1;
         }
+        if(libname && box64_dynarec_tbb && strstr(libname, "libtbb.so")) {
+            printf_dump(LOG_INFO, "libtbb detected, enable Dynarec StrongMem\n");
+            box64_dynarec_strongmem = 3;
+        }
         #endif
         if(libname && box64_libcef && strstr(libname, "libcef.so")) {
             printf_dump(LOG_INFO, "libcef detected, using malloc_hack_2\n");