mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-01-10 08:09:26 +01:00
Merge pull request #10134 from malleoz/framecount-in-input-display
RenderBase: show total framecount on movie playback
This commit is contained in:
commit
a963829ab6
@ -559,15 +559,17 @@ void Renderer::DrawDebugText()
|
||||
ImGui::GetIO().DisplaySize);
|
||||
if (ImGui::Begin("Movie", nullptr, ImGuiWindowFlags_NoFocusOnAppearing))
|
||||
{
|
||||
if (config.m_ShowFrameCount)
|
||||
{
|
||||
ImGui::Text("Frame: %" PRIu64, Movie::GetCurrentFrame());
|
||||
}
|
||||
if (Movie::IsPlayingInput())
|
||||
{
|
||||
ImGui::Text("Frame: %" PRIu64 " / %" PRIu64, Movie::GetCurrentFrame(),
|
||||
Movie::GetTotalFrames());
|
||||
ImGui::Text("Input: %" PRIu64 " / %" PRIu64, Movie::GetCurrentInputCount(),
|
||||
Movie::GetTotalInputCount());
|
||||
}
|
||||
else if (config.m_ShowFrameCount)
|
||||
{
|
||||
ImGui::Text("Frame: %" PRIu64, Movie::GetCurrentFrame());
|
||||
}
|
||||
if (SConfig::GetInstance().m_ShowLag)
|
||||
ImGui::Text("Lag: %" PRIu64 "\n", Movie::GetCurrentLagCount());
|
||||
if (SConfig::GetInstance().m_ShowInputDisplay)
|
||||
|
Loading…
x
Reference in New Issue
Block a user