Add missing variable reset fixes #12002

This commit is contained in:
LunaMoo committed 2019-04-28 06:43:59 +02:00
1 parent 056494522e
commit 9388a14a61
1 file changed
+1
+1
View File
@@ -125,6 +125,7 @@ u64 GetGlobalTimeUs() {
// Adjust the calculated value to avoid overflow errors.
lastGlobalTimeUs += usSinceLast;
lastGlobalTimeTicks = GetTicks();
usSinceLast = 0;
}
return lastGlobalTimeUs + usSinceLast;
}