VGM export; fix loop trail when loop is off
This commit is contained in:
parent
61b9a88f8c
commit
4d36bd2336
|
@ -2098,6 +2098,7 @@ SafeWriter* DivEngine::saveVGM(bool* sysToExport, bool loop, int version, bool p
|
||||||
if (nextTick(false,true)) {
|
if (nextTick(false,true)) {
|
||||||
if (trailing) beenOneLoopAlready=true;
|
if (trailing) beenOneLoopAlready=true;
|
||||||
trailing=true;
|
trailing=true;
|
||||||
|
if (!loop) countDown=0;
|
||||||
for (int i=0; i<chans; i++) {
|
for (int i=0; i<chans; i++) {
|
||||||
if (!willExport[dispatchOfChan[i]]) continue;
|
if (!willExport[dispatchOfChan[i]]) continue;
|
||||||
chan[i].wentThroughNote=false;
|
chan[i].wentThroughNote=false;
|
||||||
|
|
Loading…
Reference in New Issue