diff options
| author | Markus Wick <degasus@users.noreply.github.com> | 2016-01-06 14:21:55 +0100 |
|---|---|---|
| committer | Markus Wick <degasus@users.noreply.github.com> | 2016-01-06 14:21:55 +0100 |
| commit | 86b0e7e4f2844a2e7cc94bb01683ddcc7a8f7d4f (patch) | |
| tree | 619f243959c7209b8fd71d9bcb816cf8bb2b3d4c /Source/Core/VideoCommon | |
| parent | 7c2c73a5fd38de40e7176a4f14a504856b45b635 (diff) | |
| parent | 3ff4ec275ae931dfc946cdb09825efa7b9e60d18 (diff) | |
Merge pull request #3356 from degasus/master
Throttler: Rename "framelimiter" to "emulation speed".
Diffstat (limited to 'Source/Core/VideoCommon')
| -rw-r--r-- | Source/Core/VideoCommon/RenderBase.cpp | 2 | ||||
| -rw-r--r-- | Source/Core/VideoCommon/VideoConfig.cpp | 2 |
2 files changed, 3 insertions, 1 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) }; diff --git a/Source/Core/VideoCommon/VideoConfig.cpp b/Source/Core/VideoCommon/VideoConfig.cpp index 5e3c468d21..626e1f0bd0 100644 --- a/Source/Core/VideoCommon/VideoConfig.cpp +++ b/Source/Core/VideoCommon/VideoConfig.cpp @@ -311,5 +311,5 @@ void VideoConfig::Save(const std::string& ini_file) bool VideoConfig::IsVSync() { - return bVSync && !Core::GetIsFramelimiterTempDisabled(); + return bVSync && !Core::GetIsThrottlerTempDisabled(); } |
