diff --git a/src/engine/vgmOps.cpp b/src/engine/vgmOps.cpp index f6de082a..25df47cd 100644 --- a/src/engine/vgmOps.cpp +++ b/src/engine/vgmOps.cpp @@ -1986,9 +1986,11 @@ SafeWriter* DivEngine::saveVGM(bool* sysToExport, bool loop, int version, bool p } // write write performVGMWrite(w,song.system[i.first],i.second.write,streamIDs[i.first],loopTimer,loopFreq,loopSample,sampleDir,isSecond[i.first],directStream); + writeCount++; } sortedWrites.clear(); totalWait-=lastOne; + tickCount+=lastOne; } } else { for (int i=0; i