summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon/RenderBase.cpp
diff options
context:
space:
mode:
authorsowens99 <seanowens@comcast.net>2021-11-29 23:03:36 -0500
committersowens99 <seanowens@comcast.net>2021-11-30 20:08:29 -0500
commite4fed7cce8e6d70fe4bfbbae15305c664fcbf8ec (patch)
tree60f780758572bedc2069f923f763d83758e4622b /Source/Core/VideoCommon/RenderBase.cpp
parent57d251c2f0d5b294ac25c0d0703ea193fc8830aa (diff)
Add Rerecord Count display
Simply shows Movie::s_rerecords in the ImGui Movie window
Diffstat (limited to 'Source/Core/VideoCommon/RenderBase.cpp')
-rw-r--r--Source/Core/VideoCommon/RenderBase.cpp7
1 files changed, 5 insertions, 2 deletions
diff --git a/Source/Core/VideoCommon/RenderBase.cpp b/Source/Core/VideoCommon/RenderBase.cpp
index f293977623..e606a464e6 100644
--- a/Source/Core/VideoCommon/RenderBase.cpp
+++ b/Source/Core/VideoCommon/RenderBase.cpp
@@ -575,8 +575,9 @@ void Renderer::DrawDebugText()
ImGui::End();
}
- const bool show_movie_window =
- config.m_ShowFrameCount | config.m_ShowLag | config.m_ShowInputDisplay | config.m_ShowRTC;
+ const bool show_movie_window = config.m_ShowFrameCount | config.m_ShowLag |
+ config.m_ShowInputDisplay | config.m_ShowRTC |
+ config.m_ShowRerecord;
if (show_movie_window)
{
// Position under the FPS display.
@@ -606,6 +607,8 @@ void Renderer::DrawDebugText()
ImGui::TextUnformatted(Movie::GetInputDisplay().c_str());
if (SConfig::GetInstance().m_ShowRTC)
ImGui::TextUnformatted(Movie::GetRTCDisplay().c_str());
+ if (SConfig::GetInstance().m_ShowRerecord)
+ ImGui::TextUnformatted(Movie::GetRerecords().c_str());
}
ImGui::End();
}