diff options
author | James Rowe <jroweboy@gmail.com> | 2018-01-12 06:41:32 +0100 |
---|---|---|
committer | James Rowe <jroweboy@gmail.com> | 2018-01-13 03:11:05 +0100 |
commit | 70e65ee63a08c4f0716872a45faffade0e18e369 (patch) | |
tree | 78f1ec5e39992cf581ca328027b7c8c8259e1bb9 /src/core/perf_stats.cpp | |
parent | Removing unused settings and yuzu rebranding (diff) | |
download | yuzu-70e65ee63a08c4f0716872a45faffade0e18e369.tar yuzu-70e65ee63a08c4f0716872a45faffade0e18e369.tar.gz yuzu-70e65ee63a08c4f0716872a45faffade0e18e369.tar.bz2 yuzu-70e65ee63a08c4f0716872a45faffade0e18e369.tar.lz yuzu-70e65ee63a08c4f0716872a45faffade0e18e369.tar.xz yuzu-70e65ee63a08c4f0716872a45faffade0e18e369.tar.zst yuzu-70e65ee63a08c4f0716872a45faffade0e18e369.zip |
Diffstat (limited to '')
-rw-r--r-- | src/core/perf_stats.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/core/perf_stats.cpp b/src/core/perf_stats.cpp index 2cdfb9ded..26752699e 100644 --- a/src/core/perf_stats.cpp +++ b/src/core/perf_stats.cpp @@ -6,7 +6,6 @@ #include <mutex> #include <thread> #include "common/math_util.h" -#include "core/hw/gpu.h" #include "core/perf_stats.h" #include "core/settings.h" @@ -70,7 +69,7 @@ PerfStats::Results PerfStats::GetAndResetStats(u64 current_system_time_us) { double PerfStats::GetLastFrameTimeScale() { std::lock_guard<std::mutex> lock(object_mutex); - constexpr double FRAME_LENGTH = 1.0 / GPU::SCREEN_REFRESH_RATE; + constexpr double FRAME_LENGTH = 1.0 / 60; // GPU::SCREEN_REFRESH_RATE; return duration_cast<DoubleSecs>(previous_frame_length).count() / FRAME_LENGTH; } |