Skip to content

Commit

Permalink
Merge pull request #3415 from rabbott99/movie-end-pause
Browse files Browse the repository at this point in the history
Movie: Fix "Pause at End of Movie" for wii games
  • Loading branch information
skidau committed Jan 1, 2016
2 parents 988f62d + d2ef903 commit 96d8ea5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Source/Core/Core/Movie.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -228,9 +228,6 @@ void InputUpdate()
s_totalTickCount += CoreTiming::GetTicks() - s_tickCountAtLastInput;
s_tickCountAtLastInput = CoreTiming::GetTicks();
}

if (IsPlayingInput() && g_currentInputCount == (g_totalInputCount - 1) && SConfig::GetInstance().m_PauseMovie)
Core::SetState(Core::CORE_PAUSE);
}

void SetFrameSkipping(unsigned int framesToSkip)
Expand Down Expand Up @@ -1205,6 +1202,9 @@ void EndPlayInput(bool cont)
//g_totalFrames = s_totalBytes = 0;
//delete tmpInput;
//tmpInput = nullptr;

if (SConfig::GetInstance().m_PauseMovie)
Core::SetState(Core::CORE_PAUSE);
}
}

Expand Down

0 comments on commit 96d8ea5

Please sign in to comment.