From b1b558d244c58af6a5c56acdd0307533b51cc85c Mon Sep 17 00:00:00 2001 From: ptitSeb Date: Mon, 9 May 2022 20:11:03 +0200 Subject: Small change to avoid wlib_t declaration in wrappedlibs.h (from box86) --- src/wrapped/wrappedsdl2ttf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/wrapped/wrappedsdl2ttf.c') 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(); -- cgit 1.4.1