VGM export; fix loop trail when loop is off

This commit is contained in:
tildearrow 2023-05-24 14:25:30 -05:00
parent 61b9a88f8c
commit 4d36bd2336

View file

@ -2098,6 +2098,7 @@ SafeWriter* DivEngine::saveVGM(bool* sysToExport, bool loop, int version, bool p
if (nextTick(false,true)) {
if (trailing) beenOneLoopAlready=true;
trailing=true;
if (!loop) countDown=0;
for (int i=0; i<chans; i++) {
if (!willExport[dispatchOfChan[i]]) continue;
chan[i].wentThroughNote=false;