summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon
diff options
context:
space:
mode:
authorChris Burgener <christhecoolist@gmail.com>2016-08-04 12:54:45 -0400
committerChris Burgener <christhecoolist@gmail.com>2016-08-04 15:24:44 -0400
commit222c4ba07784096d97044dfafae2a9628e351ed3 (patch)
tree42359a5a294db2cb5e9371364e6f41c9ef78a8e0 /Source/Core/VideoCommon
parente98875949c1fa70d3eb92ed0f618b7dd28048a2e (diff)
Remove Global Declarations from Movie
Diffstat (limited to 'Source/Core/VideoCommon')
-rw-r--r--Source/Core/VideoCommon/AVIDump.cpp2
-rw-r--r--Source/Core/VideoCommon/RenderBase.cpp8
2 files changed, 5 insertions, 5 deletions
diff --git a/Source/Core/VideoCommon/AVIDump.cpp b/Source/Core/VideoCommon/AVIDump.cpp
index c0a2613ea5..708c943822 100644
--- a/Source/Core/VideoCommon/AVIDump.cpp
+++ b/Source/Core/VideoCommon/AVIDump.cpp
@@ -204,7 +204,7 @@ void AVIDump::AddFrame(const u8* data, int width, int height)
// Check to see if the first frame being dumped is the first frame of output from the emulator.
// This prevents an issue with starting dumping later in emulation from placing the frames
// incorrectly.
- if (!s_start_dumping && Movie::g_currentFrame < 1)
+ if (!s_start_dumping && Movie::GetCurrentFrame() < 1)
{
delta = CoreTiming::GetTicks();
last_pts = AV_NOPTS_VALUE;
diff --git a/Source/Core/VideoCommon/RenderBase.cpp b/Source/Core/VideoCommon/RenderBase.cpp
index baddf67867..a8911a7cdd 100644
--- a/Source/Core/VideoCommon/RenderBase.cpp
+++ b/Source/Core/VideoCommon/RenderBase.cpp
@@ -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";
}