- 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
parent 50a876906e
commit 230da2e2b9

View file

@ -144,6 +144,11 @@ StreamSource *GME_OpenSong(MusicIO::FileInterface *reader, const char *fmt, int
} }
gme_set_stereo_depth(emu, std::min(std::max(miscConfig.gme_stereodepth, 0.f), 1.f)); gme_set_stereo_depth(emu, std::min(std::max(miscConfig.gme_stereodepth, 0.f), 1.f));
gme_set_fade(emu, -1); // Enable infinite loop 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); return new GMESong(emu, sample_rate);
} }