From d2ef903d1af4a82d2a129809a55540300c108a85 Mon Sep 17 00:00:00 2001 From: rabbott99 Date: Wed, 30 Dec 2015 22:49:12 -0500 Subject: [PATCH] Movie: Fix "Pause at End of Movie" for wii games. InputUpdate() is never called during wii playback, so the pause never executed. --- Source/Core/Core/Movie.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Source/Core/Core/Movie.cpp b/Source/Core/Core/Movie.cpp index 4d0c806aa5..06024e0eb2 100644 --- a/Source/Core/Core/Movie.cpp +++ b/Source/Core/Core/Movie.cpp @@ -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) @@ -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); } }