mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-02-13 07:49:19 +01:00
Fixes pausing movies for some 30 fps games, in some situations.
Thanks abahbob for testing.
This commit is contained in:
parent
d6697d50c7
commit
69e8942dac
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user