summaryrefslogtreecommitdiff
path: root/src/core/core.h
diff options
context:
space:
mode:
authorGravatar Yuri Kunde Schlesner2017-02-20 16:31:59 -0800
committerGravatar Yuri Kunde Schlesner2017-02-26 17:22:04 -0800
commitfb1979d7e26c20fe2b8d2c3d3dc998e5e00f2f61 (patch)
tree690461954bff040727fa2cb3b34c9d71c003ea9c /src/core/core.h
parentCore: Make PerfStats internally locked (diff)
downloadyuzu-fb1979d7e26c20fe2b8d2c3d3dc998e5e00f2f61.tar.gz
yuzu-fb1979d7e26c20fe2b8d2c3d3dc998e5e00f2f61.tar.xz
yuzu-fb1979d7e26c20fe2b8d2c3d3dc998e5e00f2f61.zip
Core: Re-write frame limiter
Now based on std::chrono, and also works in terms of emulated time instead of frames, so we can in the future frame-limit even when the display is disabled, etc. The frame limiter can also be enabled along with v-sync now, which should be useful for those with displays running at more than 60 Hz.
Diffstat (limited to 'src/core/core.h')
-rw-r--r--src/core/core.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/core/core.h b/src/core/core.h
index db3b98a05..6c9c936b5 100644
--- a/src/core/core.h
+++ b/src/core/core.h
@@ -94,6 +94,7 @@ public:
94 } 94 }
95 95
96 PerfStats perf_stats; 96 PerfStats perf_stats;
97 FrameLimiter frame_limiter;
97 98
98private: 99private:
99 /** 100 /**