Skip to content
Snippets Groups Projects
Commit c3a560f5 authored by SteelT's avatar SteelT
Browse files

Let's check for looping first

parent 284205ba
No related branches found
No related tags found
1 merge request!1302Fix SPC looping on libgme versions >= 0.6.3
......@@ -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};
#if GME_VERSION >= 0x000603
gme_set_autoload_playback_limit(gme, 0);
if (looping)
gme_set_autoload_playback_limit(gme, 0);
#endif
gme_set_equalizer(gme, &eq);
gme_start_track(gme, 0);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment