From 222c4ba07784096d97044dfafae2a9628e351ed3 Mon Sep 17 00:00:00 2001 From: Chris Burgener Date: Thu, 4 Aug 2016 12:54:45 -0400 Subject: Remove Global Declarations from Movie --- Source/Core/VideoCommon/AVIDump.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Source/Core/VideoCommon/AVIDump.cpp') 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; -- cgit v1.2.3