Merge pull request #11489 from lioncash/init

CoreTiming: Zero initialize all CoreTimingManager throttle members
This commit is contained in:
Admiral H. Curtiss 2023-01-25 02:29:32 +01:00 committed by GitHub
commit 9fc959cab0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -183,8 +183,8 @@ private:
s64 m_throttle_last_cycle = 0; s64 m_throttle_last_cycle = 0;
TimePoint m_throttle_deadline = Clock::now(); TimePoint m_throttle_deadline = Clock::now();
s64 m_throttle_clock_per_sec; s64 m_throttle_clock_per_sec = 0;
s64 m_throttle_min_clock_per_sleep; s64 m_throttle_min_clock_per_sleep = 0;
bool m_throttle_disable_vi_int = false; bool m_throttle_disable_vi_int = false;
void ResetThrottle(s64 cycle); void ResetThrottle(s64 cycle);