about summary refs log tree commit diff stats
path: root/src/wrapped/wrappedsdl1image.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/wrapped/wrappedsdl1image.c')
-rwxr-xr-xsrc/wrapped/wrappedsdl1image.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wrapped/wrappedsdl1image.c b/src/wrapped/wrappedsdl1image.c
index f4569773..66eda2c8 100755
--- a/src/wrapped/wrappedsdl1image.c
+++ b/src/wrapped/wrappedsdl1image.c
@@ -68,7 +68,7 @@ void EXPORT *my_IMG_Load_RW(x64emu_t* emu, void* a, int32_t b)
 
 #define CUSTOM_INIT \
     getMy(lib);   \
-    setNeededLibs(&lib->priv.w, 2, "libSDL-1.2.so.0", "libz.so.1");
+    setNeededLibs(lib, 2, "libSDL-1.2.so.0", "libz.so.1");
 
 #define CUSTOM_FINI \
     freeMy();