Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Merge pull request #10764 from shepgoba/master
Rename FPS_REFRESH_INTERVAL in VideoCommon/FPSCounter
  • Loading branch information
AdmiralCurtiss committed Jun 18, 2022
2 parents 23ed611 + 2b2b8e9 commit 8274886
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Source/Core/VideoCommon/FPSCounter.cpp
Expand Up @@ -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()
{
Expand Down Expand Up @@ -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;
Expand Down

0 comments on commit 8274886

Please sign in to comment.