diff --git a/libraries/zmusic/streamsources/music_gme.cpp b/libraries/zmusic/streamsources/music_gme.cpp index a3af553b1..a22e94868 100644 --- a/libraries/zmusic/streamsources/music_gme.cpp +++ b/libraries/zmusic/streamsources/music_gme.cpp @@ -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_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); }