VGM export: fix wrong loop size

This commit is contained in:
tildearrow 2023-01-15 04:32:47 -05:00
parent 17cb32fe9e
commit 1ab80379e1
1 changed files with 1 additions and 1 deletions

View File

@ -2253,7 +2253,7 @@ SafeWriter* DivEngine::saveVGM(bool* sysToExport, bool loop, int version, bool p
w->writeI(0);
} else {
w->writeI(loopPos-0x1c);
w->writeI(tickCount-loopTick-1);
w->writeI(tickCount-loopTick);
}
} else {
w->writeI(0);