File tree Expand file tree Collapse file tree 1 file changed +12
-0
lines changed
Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -22,3 +22,15 @@ diff --git a/vendor/raylib/src/config.h b/vendor/raylib/src/config.h
2222 #define SUPPORT_FILEFORMAT_XM 1
2323 #define SUPPORT_FILEFORMAT_MOD 1
2424
25+ diff --git a/vendor/raylib/src/raudio.c b/vendor/raylib/src/raudio.c
26+ --- a/vendor/raylib/src/raudio.c
27+ +++ b/vendor/raylib/src/raudio.c
28+ @@ -1757,7 +1757,7 @@
29+ else if (music.ctxType == MUSIC_AUDIO_QOA) qoaplay_close((qoaplay_desc *)music.ctxData);
30+ #endif
31+ #if defined(SUPPORT_FILEFORMAT_FLAC)
32+ - else if (music.ctxType == MUSIC_AUDIO_FLAC) drflac_free((drflac *)music.ctxData, NULL);
33+ + else if (music.ctxType == MUSIC_AUDIO_FLAC) { drflac_close((drflac *)music.ctxData); drflac_free((drflac *)music.ctxData, NULL); } // Raylib fix #5133
34+ #endif
35+ #if defined(SUPPORT_FILEFORMAT_XM)
36+ else if (music.ctxType == MUSIC_MODULE_XM) jar_xm_free_context((jar_xm_context_t *)music.ctxData);
You can’t perform that action at this time.
0 commit comments