diff options
| author | degasus <wickmarkus@web.de> | 2015-12-16 00:10:47 +0100 |
|---|---|---|
| committer | degasus <wickmarkus@web.de> | 2016-01-05 23:39:05 +0100 |
| commit | 3ff4ec275ae931dfc946cdb09825efa7b9e60d18 (patch) | |
| tree | b34216da0c84c2483101d7f191a4367462a11afe /Source/Core/VideoCommon/RenderBase.cpp | |
| parent | f3098bf426dfdbcf373070b2108887185b9e1647 (diff) | |
Throttler: Rename "framelimiter" to "emulation speed".
We don't throttle by frames, we throttle by coretiming speed.
So looking up VI for calculating the speed was just very wrong.
The new ini option is a float, 1.0f for fullspeed.
In the GUI, percentual values are used.
Diffstat (limited to 'Source/Core/VideoCommon/RenderBase.cpp')
| -rw-r--r-- | Source/Core/VideoCommon/RenderBase.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/Core/VideoCommon/RenderBase.cpp b/Source/Core/VideoCommon/RenderBase.cpp index 8b8d0aa8f7..c52263843f 100644 --- a/Source/Core/VideoCommon/RenderBase.cpp +++ b/Source/Core/VideoCommon/RenderBase.cpp @@ -379,6 +379,8 @@ void Renderer::DrawDebugText() std::string("Aspect Ratio: ") + ar_text + (g_ActiveConfig.bCrop ? " (crop)" : ""), std::string("Copy EFB: ") + efbcopy_text, std::string("Fog: ") + (g_ActiveConfig.bDisableFog ? "Disabled" : "Enabled"), + SConfig::GetInstance().m_EmulationSpeed <= 0 ? "Speed Limit: Unlimited" : + StringFromFormat("Speed Limit: %li%%", std::lround(SConfig::GetInstance().m_EmulationSpeed * 100.f)), }; enum { lines_count = sizeof(lines) / sizeof(*lines) }; |
