mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Fix SPC looping on libgme versions >= 0.6.3
This commit is contained in:
parent
6dea40beaa
commit
0c4ce37b61
1 changed files with 3 additions and 0 deletions
|
|
@ -1298,6 +1298,9 @@ boolean I_PlaySong(boolean looping)
|
||||||
if (gme)
|
if (gme)
|
||||||
{
|
{
|
||||||
gme_equalizer_t eq = {GME_TREBLE, GME_BASS, 0,0,0,0,0,0,0,0};
|
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_set_equalizer(gme, &eq);
|
||||||
gme_start_track(gme, 0);
|
gme_start_track(gme, 0);
|
||||||
current_track = 0;
|
current_track = 0;
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue