about summary refs log tree commit diff stats
path: root/src/wrapped/wrappedsmpeg2.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/wrapped/wrappedsmpeg2.c')
-rw-r--r--src/wrapped/wrappedsmpeg2.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/src/wrapped/wrappedsmpeg2.c b/src/wrapped/wrappedsmpeg2.c
index e285c215..9c7a74a6 100644
--- a/src/wrapped/wrappedsmpeg2.c
+++ b/src/wrapped/wrappedsmpeg2.c
@@ -74,11 +74,6 @@ EXPORT void* my2_SMPEG_new_rwops(x64emu_t* emu, void* src, void* info, int32_t f
     return ret;
 }
 
-#define CUSTOM_INIT \
-    getMy(lib); \
-    SETALT(my2_);
-
-#define CUSTOM_FINI \
-    freeMy();
+#define ALTMY my2_
 
 #include "wrappedlib_init.h"