about summary refs log tree commit diff stats
path: root/src/wrapped/wrappedsdl2mixer.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/wrapped/wrappedsdl2mixer.c')
-rw-r--r--src/wrapped/wrappedsdl2mixer.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/wrapped/wrappedsdl2mixer.c b/src/wrapped/wrappedsdl2mixer.c
index 56a2a0e8..4a462153 100644
--- a/src/wrapped/wrappedsdl2mixer.c
+++ b/src/wrapped/wrappedsdl2mixer.c
@@ -225,13 +225,12 @@ EXPORT int my2_MinorityMix_SetPosition(x64emu_t* emu, int channel, int16_t angle
     return my->Mix_SetPosition(channel, angle, 0);
 }
 
+#define ALTMY my2_
+
 #define CUSTOM_INIT \
-    box64->sdl2mixerlib = lib; \
-    getMy(lib); \
-    SETALT(my2_);
+    box64->sdl2mixerlib = lib;
 
 #define CUSTOM_FINI \
-    freeMy();       \
     my_context->sdl2mixerlib = NULL;
 
 #include "wrappedlib_init.h"