SDL_mixer: Make sure we set the data source for MOD loading

From 75266e6c39238cd47815410b3c79132002f75ae7 Mon Sep 17 00:00:00 2001
From: Sam Lantinga <[EMAIL REDACTED]>
Date: Sun, 14 Jan 2024 12:36:51 -0800
Subject: [PATCH] Make sure we set the data source for MOD loading

---
 src/codecs/music_xmp.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/codecs/music_xmp.c b/src/codecs/music_xmp.c
index 79a1b143..9967a5fe 100644
--- a/src/codecs/music_xmp.c
+++ b/src/codecs/music_xmp.c
@@ -236,6 +236,7 @@ void *XMP_CreateFromRW(SDL_RWops *src, SDL_bool freesrc)
     }
 
     if (libxmp.xmp_load_module_from_callbacks) {
+        music->src = src;
         music->src_offset = SDL_RWtell(src);
         err = libxmp.xmp_load_module_from_callbacks(music->ctx, music, file_callbacks);
     } else {