diff options
| author | Admiral H. Curtiss <pikachu025@gmail.com> | 2024-04-28 20:31:28 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-04-28 20:31:28 +0200 |
| commit | efed26ceee6d5a31f8ef4f173cfb55dc2c70347c (patch) | |
| tree | 3e37c2f34e70f7f43e2e8d61caa56dd5cb0a3583 /Source/Core/VideoCommon/OnScreenUI.cpp | |
| parent | bec6842cbebfcd2dd10fdbed348ea055e8c18d8f (diff) | |
| parent | 3ab1334cd9077010202762357e15e2a04dc8114e (diff) | |
Merge pull request #12739 from malleoz/show_input_count_recording_only
VideoCommon: Only show input count when recording
Diffstat (limited to 'Source/Core/VideoCommon/OnScreenUI.cpp')
| -rw-r--r-- | Source/Core/VideoCommon/OnScreenUI.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
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()); |
