speed up sub-song detection

This commit is contained in:
tildearrow 2025-10-29 18:15:47 -05:00
parent f990dee0c1
commit c7fe8fea80

View file

@ -575,6 +575,7 @@ void DivSong::findSubSongs(int chans) {
logV("found a subsong: %d-%d",curStart,i->ts.loopEnd.order);
subSongStart.push_back(curStart);
subSongEnd.push_back(i->ts.loopEnd.order);
curStart=i->ts.loopEnd.order;
}
// if this is the only song, quit