mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-29 12:19:12 +00:00
VideoCommon: Improve precision of FPS counter
This commit is contained in:
parent
1fccbd5be3
commit
621287e7eb
3 changed files with 24 additions and 26 deletions
|
@ -337,7 +337,7 @@ void Renderer::DrawDebugText()
|
|||
if (g_ActiveConfig.bShowFPS || SConfig::GetInstance().m_ShowFrameCount)
|
||||
{
|
||||
if (g_ActiveConfig.bShowFPS)
|
||||
final_cyan += StringFromFormat("FPS: %u", m_fps_counter.GetFPS());
|
||||
final_cyan += StringFromFormat("FPS: %.2f", m_fps_counter.GetFPS());
|
||||
|
||||
if (g_ActiveConfig.bShowFPS && SConfig::GetInstance().m_ShowFrameCount)
|
||||
final_cyan += " - ";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue