diff options
| author | Admiral H. Curtiss <pikachu025@gmail.com> | 2022-06-18 15:18:08 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-06-18 15:18:08 +0200 |
| commit | 8274886cc29db34d744d755849fc6f96f51e448a (patch) | |
| tree | de27a3638fe16ee8ca407d2a6818b266b9360d92 /Source/Core/VideoCommon/FPSCounter.cpp | |
| parent | 23ed611077d65b43d9ef8f0971e9e5c57699fd91 (diff) | |
| parent | 2b2b8e932dda70681534d9f539c7738539b8f501 (diff) | |
Merge pull request #10764 from shepgoba/master
Rename FPS_REFRESH_INTERVAL in VideoCommon/FPSCounter
Diffstat (limited to 'Source/Core/VideoCommon/FPSCounter.cpp')
| -rw-r--r-- | Source/Core/VideoCommon/FPSCounter.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/Core/VideoCommon/FPSCounter.cpp b/Source/Core/VideoCommon/FPSCounter.cpp index 4d71a7c462..459856d1ef 100644 --- a/Source/Core/VideoCommon/FPSCounter.cpp +++ b/Source/Core/VideoCommon/FPSCounter.cpp @@ -12,7 +12,7 @@ #include "Core/Core.h" #include "VideoCommon/VideoConfig.h" -static constexpr u64 FPS_REFRESH_INTERVAL = 250000; +static constexpr u64 FPS_REFRESH_INTERVAL_US = 250000; FPSCounter::FPSCounter() { @@ -54,7 +54,7 @@ void FPSCounter::Update() m_time_since_update += diff; m_last_time = time; - if (m_time_since_update >= FPS_REFRESH_INTERVAL) + if (m_time_since_update >= FPS_REFRESH_INTERVAL_US) { m_fps = m_frame_counter / (m_time_since_update / 1000000.0); m_frame_counter = 0; |
