prepare the skeleton for VGM export

This commit is contained in:
tildearrow 2022-01-23 13:19:06 -05:00
parent ccc2467d7b
commit 04f0c6a7cb
1 changed files with 9 additions and 0 deletions

View File

@ -1905,8 +1905,17 @@ SafeWriter* DivEngine::saveDMF() {
}
SafeWriter* DivEngine::saveVGM() {
stop();
setOrder(0);
isBusy.lock();
// play the song ourselves
playSub(false);
bool done=false;
while (!done) {
if (nextTick()) done=true;
}
isBusy.unlock();
return NULL;
}