DivSongTimestamps, part 8

now remove walkSong()
This commit is contained in:
tildearrow 2025-10-29 19:39:53 -05:00
parent a49306b4bd
commit cb220d41ec
10 changed files with 25 additions and 45 deletions

View file

@ -201,15 +201,6 @@ const char* DivEngine::getEffectDesc(unsigned char effect, int chan, bool notNul
return notNull?_("Invalid effect"):NULL;
}
void DivEngine::walkSong(int& loopOrder, int& loopRow, int& loopEnd) {
if (curSubSong!=NULL) {
curSubSong->calcTimestamps(chans,song.grooves,song.jumpTreatment,song.ignoreJumpAtEnd,song.brokenSpeedSel,song.delayBehavior);
loopOrder=curSubSong->ts.loopStart.order;
loopRow=curSubSong->ts.loopStart.row;
loopEnd=curSubSong->ts.loopEnd.order;
}
}
void DivEngine::calcSongTimestamps() {
if (curSubSong!=NULL) {
curSubSong->calcTimestamps(chans,song.grooves,song.jumpTreatment,song.ignoreJumpAtEnd,song.brokenSpeedSel,song.delayBehavior);