about summary refs log tree commit diff stats
path: root/src/wrapped/wrappedsdl1mixer.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/wrapped/wrappedsdl1mixer.c')
-rwxr-xr-xsrc/wrapped/wrappedsdl1mixer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wrapped/wrappedsdl1mixer.c b/src/wrapped/wrappedsdl1mixer.c
index fa4ea1a8..9538aacf 100755
--- a/src/wrapped/wrappedsdl1mixer.c
+++ b/src/wrapped/wrappedsdl1mixer.c
@@ -214,6 +214,6 @@ EXPORT int my_Mix_UnregisterEffect(x64emu_t* emu, int channel, void* f)
 
 #define CUSTOM_FINI \
     freeMy();       \
-    ((box64context_t*)(lib->context))->sdl1mixerlib = NULL;
+    my_context->sdl1mixerlib = NULL;
 
 #include "wrappedlib_init.h"