mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-04 15:19:09 +00:00
Remove Global Declarations from Movie
This commit is contained in:
parent
e98875949c
commit
222c4ba077
10 changed files with 137 additions and 84 deletions
|
@ -310,11 +310,11 @@ void Renderer::DrawDebugText()
|
|||
final_cyan += " - ";
|
||||
if (SConfig::GetInstance().m_ShowFrameCount)
|
||||
{
|
||||
final_cyan += StringFromFormat("Frame: %llu", (unsigned long long)Movie::g_currentFrame);
|
||||
final_cyan += StringFromFormat("Frame: %llu", (unsigned long long)Movie::GetCurrentFrame());
|
||||
if (Movie::IsPlayingInput())
|
||||
final_cyan +=
|
||||
StringFromFormat("\nInput: %llu / %llu", (unsigned long long)Movie::g_currentInputCount,
|
||||
(unsigned long long)Movie::g_totalInputCount);
|
||||
StringFromFormat("\nInput: %llu / %llu", (unsigned long long)Movie::GetCurrentInputCount(),
|
||||
(unsigned long long)Movie::GetTotalInputCount());
|
||||
}
|
||||
|
||||
final_cyan += "\n";
|
||||
|
@ -323,7 +323,7 @@ void Renderer::DrawDebugText()
|
|||
|
||||
if (SConfig::GetInstance().m_ShowLag)
|
||||
{
|
||||
final_cyan += StringFromFormat("Lag: %" PRIu64 "\n", Movie::g_currentLagCount);
|
||||
final_cyan += StringFromFormat("Lag: %" PRIu64 "\n", Movie::GetCurrentLagCount());
|
||||
final_yellow += "\n";
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue