VGM export: fix direct stream delay>16

This commit is contained in:
tildearrow 2023-05-03 04:18:47 -05:00
parent 64145166ba
commit bf95a358bc
1 changed files with 1 additions and 1 deletions

View File

@ -2206,7 +2206,7 @@ SafeWriter* DivEngine::saveVGM(bool* sysToExport, bool loop, int version, bool p
int delay=i.second.time-lastOne;
if (delay>16) {
w->writeC(0x61);
w->writeS(totalWait);
w->writeS(delay);
} else if (delay>0) {
w->writeC(0x70+delay-1);
}