mirror of
https://github.com/tildearrow/furnace.git
synced 2024-12-29 02:51:24 +00:00
fix repeat pattern hanging audio/VGM export
This commit is contained in:
parent
6ffb332c4e
commit
4db91256b1
2 changed files with 2 additions and 0 deletions
|
@ -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);
|
||||
|
|
|
@ -385,6 +385,7 @@ void DivEngine::performVGMWrite(SafeWriter* w, DivSystem sys, DivRegWrite& write
|
|||
|
||||
SafeWriter* DivEngine::saveVGM(bool* sysToExport, bool loop) {
|
||||
stop();
|
||||
repeatPattern=false;
|
||||
setOrder(0);
|
||||
isBusy.lock();
|
||||
double origRate=got.rate;
|
||||
|
|
Loading…
Reference in a new issue