VideoCommon: Only show input count when recording

This commit is contained in:
sowens99 2024-04-26 20:06:57 -04:00
parent e69486d2cb
commit 3ab1334cd9
1 changed files with 2 additions and 1 deletions

View File

@ -296,7 +296,8 @@ void OnScreenUI::DrawDebugText()
else if (Config::Get(Config::MAIN_SHOW_FRAME_COUNT)) else if (Config::Get(Config::MAIN_SHOW_FRAME_COUNT))
{ {
ImGui::Text("Frame: %" PRIu64, movie.GetCurrentFrame()); ImGui::Text("Frame: %" PRIu64, movie.GetCurrentFrame());
ImGui::Text("Input: %" PRIu64, movie.GetCurrentInputCount()); if (movie.IsRecordingInput())
ImGui::Text("Input: %" PRIu64, movie.GetCurrentInputCount());
} }
if (Config::Get(Config::MAIN_SHOW_LAG)) if (Config::Get(Config::MAIN_SHOW_LAG))
ImGui::Text("Lag: %" PRIu64 "\n", movie.GetCurrentLagCount()); ImGui::Text("Lag: %" PRIu64 "\n", movie.GetCurrentLagCount());