- fixed SPC music looping after update to GME 0.6.2

Why was the default player setup changed at all?

https://forum.zdoom.org/viewtopic.php?t=65863
This commit is contained in:
alexey.lysiuk 2019-10-18 10:25:24 +03:00 committed by drfrag
parent 6b1467dd8d
commit 7132b1a67c

View file

@ -156,6 +156,11 @@ MusInfo *GME_OpenSong(FileReader &reader, const char *fmt)
}
gme_set_stereo_depth(emu, clamp(*gme_stereodepth, 0.f, 1.f));
gme_set_fade(emu, -1); // Enable infinite loop
#if GME_VERSION >= 0x602
gme_set_autoload_playback_limit(emu, 0);
#endif // GME_VERSION >= 0x602
return new GMESong(emu, sample_rate);
}