Set graphics settings while playing a movie in UpdateActiveConfig(), so settings can't be changed for a frame.

This commit is contained in:
Rachel Bryk 2013-05-21 19:20:22 -04:00
parent 86b4a87fef
commit 10d1d19409
2 changed files with 3 additions and 5 deletions

View File

@ -126,11 +126,6 @@ void FrameUpdate()
g_totalFrames = g_currentFrame;
g_totalLagCount = g_currentLagCount;
}
if (IsPlayingInput() && IsConfigSaved())
{
SetGraphicsConfig();
}
if (g_bFrameStep)
{
Core::SetState(Core::CORE_PAUSE);

View File

@ -10,12 +10,15 @@
#include "VideoCommon.h"
#include "FileUtil.h"
#include "Core.h"
#include "Movie.h"
VideoConfig g_Config;
VideoConfig g_ActiveConfig;
void UpdateActiveConfig()
{
if (Movie::IsPlayingInput() && Movie::IsConfigSaved())
Movie::SetGraphicsConfig();
g_ActiveConfig = g_Config;
}