From 3ab1334cd9077010202762357e15e2a04dc8114e Mon Sep 17 00:00:00 2001 From: sowens99 Date: Fri, 26 Apr 2024 20:06:57 -0400 Subject: [PATCH] VideoCommon: Only show input count when recording --- Source/Core/VideoCommon/OnScreenUI.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Source/Core/VideoCommon/OnScreenUI.cpp b/Source/Core/VideoCommon/OnScreenUI.cpp index dce1c2146f..4d0213a1a4 100644 --- a/Source/Core/VideoCommon/OnScreenUI.cpp +++ b/Source/Core/VideoCommon/OnScreenUI.cpp @@ -296,7 +296,8 @@ void OnScreenUI::DrawDebugText() else if (Config::Get(Config::MAIN_SHOW_FRAME_COUNT)) { 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)) ImGui::Text("Lag: %" PRIu64 "\n", movie.GetCurrentLagCount());