Skip to content

Commit

Permalink
Fixes pausing movies for some 30 fps games, in some situations.
Browse files Browse the repository at this point in the history
Thanks abahbob for testing.
  • Loading branch information
rog9 committed Nov 18, 2012
1 parent d6697d5 commit 69e8942
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions Source/Core/Core/Src/Movie.cpp
Expand Up @@ -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++;
Expand Down Expand Up @@ -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)
Expand Down

0 comments on commit 69e8942

Please sign in to comment.