From 69e8942dac4e0cb819ec80462b1f267d96b3ca36 Mon Sep 17 00:00:00 2001 From: rog Date: Sun, 18 Nov 2012 01:07:48 -0500 Subject: [PATCH] Fixes pausing movies for some 30 fps games, in some situations. Thanks abahbob for testing. --- Source/Core/Core/Src/Movie.cpp | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/Source/Core/Core/Src/Movie.cpp b/Source/Core/Core/Src/Movie.cpp index af33458523..0b6d3adae3 100644 --- a/Source/Core/Core/Src/Movie.cpp +++ b/Source/Core/Core/Src/Movie.cpp @@ -92,10 +92,6 @@ std::string GetInputDisplay() void FrameUpdate() { - if (IsPlayingInput() && g_currentInputCount == g_totalInputCount -1 && SConfig::GetInstance().m_PauseMovie) - { - Core::SetState(Core::CORE_PAUSE); - } g_currentFrame++; if(!g_bPolled) g_currentLagCount++; @@ -178,6 +174,9 @@ void InputUpdate() g_currentInputCount++; if (IsRecordingInput()) g_totalInputCount = g_currentInputCount; + + if (IsPlayingInput() && g_currentInputCount == (g_totalInputCount -1) && SConfig::GetInstance().m_PauseMovie) + Core::SetState(Core::CORE_PAUSE); } void SetFrameSkipping(unsigned int framesToSkip)