mirror of
https://github.com/tildearrow/furnace.git
synced 2024-12-18 06:20:17 +00:00
VGM export: fix direct stream mode buggy duration
This commit is contained in:
parent
9b6449d320
commit
f5b0604d4a
1 changed files with 2 additions and 0 deletions
|
@ -1986,9 +1986,11 @@ SafeWriter* DivEngine::saveVGM(bool* sysToExport, bool loop, int version, bool p
|
||||||
}
|
}
|
||||||
// write write
|
// write write
|
||||||
performVGMWrite(w,song.system[i.first],i.second.write,streamIDs[i.first],loopTimer,loopFreq,loopSample,sampleDir,isSecond[i.first],directStream);
|
performVGMWrite(w,song.system[i.first],i.second.write,streamIDs[i.first],loopTimer,loopFreq,loopSample,sampleDir,isSecond[i.first],directStream);
|
||||||
|
writeCount++;
|
||||||
}
|
}
|
||||||
sortedWrites.clear();
|
sortedWrites.clear();
|
||||||
totalWait-=lastOne;
|
totalWait-=lastOne;
|
||||||
|
tickCount+=lastOne;
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
for (int i=0; i<streamID; i++) {
|
for (int i=0; i<streamID; i++) {
|
||||||
|
|
Loading…
Reference in a new issue