diff options
| author | ptitSeb <sebastien.chev@gmail.com> | 2022-03-26 13:20:34 +0100 |
|---|---|---|
| committer | ptitSeb <sebastien.chev@gmail.com> | 2022-03-26 13:20:34 +0100 |
| commit | 1eaa7159a6416640bccf3cc3541adedcde2649b0 (patch) | |
| tree | a45af1710cc233e1deeef13374af8ed7b59d79c1 /src/librarian | |
| parent | 4015c26e68a5ce812673a3d434f8d98fa21755c1 (diff) | |
| download | box64-1eaa7159a6416640bccf3cc3541adedcde2649b0.tar.gz box64-1eaa7159a6416640bccf3cc3541adedcde2649b0.zip | |
More work around steam and proton/SteamPlay (working, but need also latest box86)
Diffstat (limited to 'src/librarian')
| -rwxr-xr-x | src/librarian/library.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/librarian/library.c b/src/librarian/library.c index 46aead20..32a58311 100755 --- a/src/librarian/library.c +++ b/src/librarian/library.c @@ -342,6 +342,8 @@ library_t *NewLibrary(const char* path, box64context_t* context) } int notwrapped = FindInCollection(lib->name, &context->box64_emulated_libs); int precise = (path && path[0]=='/')?1:0; + if(!notwrapped && precise && strstr(path, "libtcmalloc_minimal.so")) + precise = 0; // allow native version for tcmalloc_minimum // check if name is libSDL_sound-1.0.so.1 but with SDL2 loaded, then try emulated first... if(!notwrapped && !strcmp(lib->name, "libSDL_sound-1.0.so.1") && my_context->sdl2lib) notwrapped = 1; |