Merge pull request #12739 from malleoz/show_input_count_recording_only

VideoCommon: Only show input count when recording
This commit is contained in:
Admiral H. Curtiss 2024-04-28 20:31:28 +02:00 committed by GitHub
commit efed26ceee
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 1 deletions

View File

@ -296,6 +296,7 @@ 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());
if (movie.IsRecordingInput())
ImGui::Text("Input: %" PRIu64, movie.GetCurrentInputCount()); ImGui::Text("Input: %" PRIu64, movie.GetCurrentInputCount());
} }
if (Config::Get(Config::MAIN_SHOW_LAG)) if (Config::Get(Config::MAIN_SHOW_LAG))