about summary refs log tree commit diff stats
path: root/src/wrapped/wrappedpng16.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/wrapped/wrappedpng16.c')
-rw-r--r--src/wrapped/wrappedpng16.c9
1 files changed, 3 insertions, 6 deletions
diff --git a/src/wrapped/wrappedpng16.c b/src/wrapped/wrappedpng16.c
index ba00808d..c1953f83 100644
--- a/src/wrapped/wrappedpng16.c
+++ b/src/wrapped/wrappedpng16.c
@@ -326,12 +326,9 @@ EXPORT void* my16_png_create_read_struct(x64emu_t* emu, void* png_ptr, void* use
     return my->png_create_read_struct(png_ptr, user_ptr, finderrorFct(errorfn), findwarningFct(warnfn));
 }
 
-#define CUSTOM_INIT \
-    SETALTPREFIX("yes");\
-    SETALT(my16_);      \
-    getMy(lib);
+#define ALTMY my16_
 
-#define CUSTOM_FINI \
-    freeMy();
+#define CUSTOM_INIT \
+    SETALTPREFIX("yes");
 
 #include "wrappedlib_init.h"