fix repeat pattern hanging audio/VGM export

This commit is contained in:
tildearrow 2022-02-21 23:05:41 -05:00
parent 6ffb332c4e
commit 4db91256b1
2 changed files with 2 additions and 0 deletions

View file

@ -400,6 +400,7 @@ bool DivEngine::saveAudio(const char* path, int loops, DivAudioExportModes mode)
exportMode=mode;
exporting=true;
stop();
repeatPattern=false;
setOrder(0);
remainingLoops=loops;
exportThread=new std::thread(_runExportThread,this);