diff options
| author | Admiral H. Curtiss <pikachu025@gmail.com> | 2023-01-25 02:29:32 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-01-25 02:29:32 +0100 |
| commit | 9fc959cab048c09d5e9af2bbe33c74e8d9dd09e1 (patch) | |
| tree | 515f62bf97e76f6357df2bb01cc56e7874275b12 /Source/Core | |
| parent | 6fad8ac3897a1ee86a5ac6af87817269ecf36c82 (diff) | |
| parent | 3607c1dc7db900e6720ba363353368dec137bc8b (diff) | |
Merge pull request #11489 from lioncash/init
CoreTiming: Zero initialize all CoreTimingManager throttle members
Diffstat (limited to 'Source/Core')
| -rw-r--r-- | Source/Core/Core/CoreTiming.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/Core/Core/CoreTiming.h b/Source/Core/Core/CoreTiming.h index 54b2b54e2e..d028550696 100644 --- a/Source/Core/Core/CoreTiming.h +++ b/Source/Core/Core/CoreTiming.h @@ -183,8 +183,8 @@ private: s64 m_throttle_last_cycle = 0; TimePoint m_throttle_deadline = Clock::now(); - s64 m_throttle_clock_per_sec; - s64 m_throttle_min_clock_per_sleep; + s64 m_throttle_clock_per_sec = 0; + s64 m_throttle_min_clock_per_sleep = 0; bool m_throttle_disable_vi_int = false; void ResetThrottle(s64 cycle); |
