mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-02-13 15:59:23 +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()
|
void FrameUpdate()
|
||||||
{
|
{
|
||||||
if (IsPlayingInput() && g_currentInputCount == g_totalInputCount -1 && SConfig::GetInstance().m_PauseMovie)
|
|
||||||
{
|
|
||||||
Core::SetState(Core::CORE_PAUSE);
|
|
||||||
}
|
|
||||||
g_currentFrame++;
|
g_currentFrame++;
|
||||||
if(!g_bPolled)
|
if(!g_bPolled)
|
||||||
g_currentLagCount++;
|
g_currentLagCount++;
|
||||||
@ -178,6 +174,9 @@ void InputUpdate()
|
|||||||
g_currentInputCount++;
|
g_currentInputCount++;
|
||||||
if (IsRecordingInput())
|
if (IsRecordingInput())
|
||||||
g_totalInputCount = g_currentInputCount;
|
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)
|
void SetFrameSkipping(unsigned int framesToSkip)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user