about summary refs log tree commit diff stats
path: root/src/wrapped/wrappedsdl2image.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/wrapped/wrappedsdl2image.c')
-rw-r--r--src/wrapped/wrappedsdl2image.c9
1 files changed, 2 insertions, 7 deletions
diff --git a/src/wrapped/wrappedsdl2image.c b/src/wrapped/wrappedsdl2image.c
index 290d3155..af45e391 100644
--- a/src/wrapped/wrappedsdl2image.c
+++ b/src/wrapped/wrappedsdl2image.c
@@ -101,13 +101,8 @@ EXPORT void* my2_IMG_LoadTextureTyped_RW(x64emu_t* emu, void* rend, void* a, int
     return r;
 }
 
-#define CUSTOM_INIT \
-    getMy(lib);     \
-    SETALT(my2_);   \
-    setNeededLibs(lib, 1, "libSDL2-2.0.so.0");
+#define ALTMY my2_
 
-#define CUSTOM_FINI \
-    freeMy();
+#define NEEDED_LIBS "libSDL2-2.0.so.0"
 
 #include "wrappedlib_init.h"
-