mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-10-03 14:49:22 +00:00
Add an on screen lag counter.
This commit is contained in:
parent
35e5a1e592
commit
a5d210129d
9 changed files with 43 additions and 7 deletions
|
@ -62,6 +62,7 @@
|
|||
#include "Host.h"
|
||||
#include "BPFunctions.h"
|
||||
#include "FPSCounter.h"
|
||||
#include "ConfigManager.h"
|
||||
|
||||
#include "main.h" // Local
|
||||
#ifdef _WIN32
|
||||
|
@ -531,6 +532,9 @@ void Renderer::DrawDebugInfo()
|
|||
if (g_ActiveConfig.bShowFPS)
|
||||
p+=sprintf(p, "FPS: %d\n", s_fps);
|
||||
|
||||
if (SConfig::GetInstance().m_showLag)
|
||||
p+=sprintf(p, "Lag: %d\n", Movie::g_currentLagCount);
|
||||
|
||||
if (g_ActiveConfig.bShowInputDisplay)
|
||||
p+=sprintf(p, "%s", Movie::GetInputDisplay().c_str());
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue