mirror of
https://github.com/tildearrow/furnace.git
synced 2024-12-31 20:11:29 +00:00
prepare the skeleton for VGM export
This commit is contained in:
parent
ccc2467d7b
commit
04f0c6a7cb
1 changed files with 9 additions and 0 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue