TimingEvents: Fix events ending up out-of-order

This commit is contained in:
Stenzek
2024-07-20 21:07:00 +10:00
parent 495b2ff29e
commit efd8aab437
6 changed files with 45 additions and 60 deletions

View File

@ -38,8 +38,6 @@ public:
void SetIntervalAndSchedule(TickCount ticks);
void SetPeriodAndSchedule(TickCount ticks);
void Reset();
// Services the event with the current accmulated time. If force is set, when not enough time is pending to
// simulate a single cycle, the callback will still be invoked, otherwise it won't be.
void InvokeEarly(bool force = false);