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')
-rwxr-xr-xsrc/wrapped/wrappedsdl2mixer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wrapped/wrappedsdl2mixer.c b/src/wrapped/wrappedsdl2mixer.c
index c0c5af5f..8bf9c4df 100755
--- a/src/wrapped/wrappedsdl2mixer.c
+++ b/src/wrapped/wrappedsdl2mixer.c
@@ -232,6 +232,6 @@ EXPORT int my2_MinorityMix_SetPosition(x64emu_t* emu, int channel, int16_t angle
 
 #define CUSTOM_FINI \
     freeMy();       \
-    ((box64context_t*)(lib->context))->sdl2mixerlib = NULL;
+    my_context->sdl2mixerlib = NULL;
 
 #include "wrappedlib_init.h"