From 70e65ee63a08c4f0716872a45faffade0e18e369 Mon Sep 17 00:00:00 2001 From: James Rowe Date: Thu, 11 Jan 2018 22:41:32 -0700 Subject: Remove settings issues in sdl and fix a few files that broke in mingw --- src/core/perf_stats.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/core/perf_stats.cpp') 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 #include #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 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(previous_frame_length).count() / FRAME_LENGTH; } -- cgit v1.2.3