about summary refs log tree commit diff stats
path: root/src/wrapped
diff options
context:
space:
mode:
authorptitSeb <sebastien.chev@gmail.com>2023-01-28 22:00:22 +0100
committerptitSeb <sebastien.chev@gmail.com>2023-01-28 22:00:22 +0100
commit7ebfe844892f9f4822046f98f91bfa85b3e39714 (patch)
treeffbaea7de870b4340acb6da9970e5a047e9a14fe /src/wrapped
parent4e645debaadb92a8dc38e305bac2ccdee939c3ca (diff)
downloadbox64-7ebfe844892f9f4822046f98f91bfa85b3e39714.tar.gz
box64-7ebfe844892f9f4822046f98f91bfa85b3e39714.zip
Fixed some isse with last lib init/fini refactor (fixed ut2004, maybe pokewilds too)
Diffstat (limited to 'src/wrapped')
-rwxr-xr-xsrc/wrapped/wrappedlibdl.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/wrapped/wrappedlibdl.c b/src/wrapped/wrappedlibdl.c
index 3e7cc4d4..3ad6169f 100755
--- a/src/wrapped/wrappedlibdl.c
+++ b/src/wrapped/wrappedlibdl.c
@@ -155,7 +155,6 @@ void* my_dlopen(x64emu_t* emu, void *filename, int flag)
         for (size_t i=MIN_NLIB; i<dl->lib_sz; ++i) {
             if(!dl->libs[i]) {
                 dl->count[i] = dl->count[i]+1;
-                IncRefCount(dl->libs[i]);
                 return (void*)(i+1);
             }
         }