rename totalTicksOff to totalTimeDrift

This commit is contained in:
tildearrow 2025-10-30 20:40:22 -05:00
parent 5ff81aef33
commit 3516245d2e
3 changed files with 7 additions and 7 deletions

View file

@ -2583,9 +2583,9 @@ bool DivEngine::nextTick(bool noAccum, bool inhibitLowLat) {
double dt=divider*tickMult;
totalTicksR++;
totalTime.micros+=1000000/dt;
totalTicksOff+=fmod(1000000.0,dt);
while (totalTicksOff>=dt) {
totalTicksOff-=dt;
totalTimeDrift+=fmod(1000000.0,dt);
while (totalTimeDrift>=dt) {
totalTimeDrift-=dt;
totalTime.micros++;
}
}