From 1eaa7159a6416640bccf3cc3541adedcde2649b0 Mon Sep 17 00:00:00 2001 From: ptitSeb Date: Sat, 26 Mar 2022 13:20:34 +0100 Subject: More work around steam and proton/SteamPlay (working, but need also latest box86) --- src/librarian/library.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/librarian') 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; -- cgit 1.4.1