mirror of
https://github.com/tildearrow/furnace.git
synced 2025-01-05 15:11:19 +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() {
|
SafeWriter* DivEngine::saveVGM() {
|
||||||
|
stop();
|
||||||
|
setOrder(0);
|
||||||
isBusy.lock();
|
isBusy.lock();
|
||||||
// play the song ourselves
|
// play the song ourselves
|
||||||
|
playSub(false);
|
||||||
|
bool done=false;
|
||||||
|
|
||||||
|
while (!done) {
|
||||||
|
if (nextTick()) done=true;
|
||||||
|
}
|
||||||
|
|
||||||
isBusy.unlock();
|
isBusy.unlock();
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue