mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Let's check for looping first
This commit is contained in:
parent
0c4ce37b61
commit
215631bd03
1 changed files with 2 additions and 1 deletions
|
|
@ -1299,7 +1299,8 @@ boolean I_PlaySong(boolean looping)
|
||||||
{
|
{
|
||||||
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
|
#if GME_VERSION >= 0x000603
|
||||||
gme_set_autoload_playback_limit(gme, 0);
|
if (looping)
|
||||||
|
gme_set_autoload_playback_limit(gme, 0);
|
||||||
#endif
|
#endif
|
||||||
gme_set_equalizer(gme, &eq);
|
gme_set_equalizer(gme, &eq);
|
||||||
gme_start_track(gme, 0);
|
gme_start_track(gme, 0);
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue