Fix SPC looping on libgme versions >= 0.6.3

See: https://git.do.srb2.org/STJr/SRB2/-/merge_requests/1302
This commit is contained in:
alufolie91 committed 2023-08-09 16:09:34 +02:00
1 parent 0cc1d04deb
commit 2b8bca307c
1 file changed
+3
+3
View File
@@ -1090,6 +1090,9 @@ boolean I_PlaySong(boolean looping)
if (gme)
{
gme_equalizer_t eq = {GME_TREBLE, GME_BASS, 0,0,0,0,0,0,0,0};
#if GME_VERSION >= 0x000603
gme_set_autoload_playback_limit(gme, 0);
#endif
gme_set_equalizer(gme, &eq);
gme_start_track(gme, 0);
current_track = 0;