summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon/AVIDump.cpp
diff options
context:
space:
mode:
authorMat M <mathew1800@gmail.com>2016-08-05 10:42:58 -0400
committerGitHub <noreply@github.com>2016-08-05 10:42:58 -0400
commitfa5a2474f408256e58e2abd7bdd0544625ff781d (patch)
treeb0abd170ff8252e3e6358527e0d5f7540d6c5211 /Source/Core/VideoCommon/AVIDump.cpp
parent8f04396dc376bd6386d23e9ea3af270fd3603b06 (diff)
parent222c4ba07784096d97044dfafae2a9628e351ed3 (diff)
Merge pull request #4088 from RisingFog/remove_globals_movie
Remove Global Declarations from Movie
Diffstat (limited to 'Source/Core/VideoCommon/AVIDump.cpp')
-rw-r--r--Source/Core/VideoCommon/AVIDump.cpp2
1 files changed, 1 insertions, 1 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;