about summary refs log tree commit diff stats
path: root/src/wrapped/wrappedsdl2ttf.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/wrapped/wrappedsdl2ttf.c')
-rwxr-xr-xsrc/wrapped/wrappedsdl2ttf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wrapped/wrappedsdl2ttf.c b/src/wrapped/wrappedsdl2ttf.c
index ff1afeb8..b0075b37 100755
--- a/src/wrapped/wrappedsdl2ttf.c
+++ b/src/wrapped/wrappedsdl2ttf.c
@@ -45,7 +45,7 @@ void EXPORT *my2_TTF_OpenFontRW(x64emu_t* emu, void* a, int32_t b, int32_t c)
 #define CUSTOM_INIT                     \
     SETALT(my2_);                       \
     getMy(lib);                         \
-    setNeededLibs(&lib->priv.w, 1, "libSDL2-2.0.so.0");
+    setNeededLibs(lib, 1, "libSDL2-2.0.so.0");
 
 #define CUSTOM_FINI                     \
     freeMy();