summaryrefslogtreecommitdiff
path: root/Source/Core
diff options
context:
space:
mode:
authorLioncash <mai.iam2048@gmail.com>2023-01-24 17:20:06 -0500
committerLioncash <mai.iam2048@gmail.com>2023-01-24 17:20:08 -0500
commit3607c1dc7db900e6720ba363353368dec137bc8b (patch)
tree96d4e453bf63a08285b5e41e52117d9a836f5040 /Source/Core
parent4b2c00e239f44e79190cc156e4557ea4aaf64bd2 (diff)
CoreTiming: Zero initialize all CoreTimingManager throttle members
Gives two members without explicit initialization default values to be consistent with the rest of the class and also ensuring deterministic values on construction.
Diffstat (limited to 'Source/Core')
-rw-r--r--Source/Core/Core/CoreTiming.h4
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);