VGM export: improvements
- use shorthand command for waiting at 50/60Hz - don't write stream rate change if DAC is off
This commit is contained in:
parent
28a7348863
commit
d0457a2e1b
2 changed files with 9 additions and 3 deletions
|
|
@ -3960,8 +3960,14 @@ SafeWriter* DivEngine::saveVGM(bool* sysToExport, bool loop) {
|
|||
}
|
||||
// write wait
|
||||
if (totalWait>0) {
|
||||
w->writeC(0x61);
|
||||
w->writeS(totalWait);
|
||||
if (totalWait==735) {
|
||||
w->writeC(0x62);
|
||||
} else if (totalWait==882) {
|
||||
w->writeC(0x63);
|
||||
} else {
|
||||
w->writeC(0x61);
|
||||
w->writeS(totalWait);
|
||||
}
|
||||
tickCount+=totalWait;
|
||||
}
|
||||
if (writeLoop) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue