Set graphics settings while playing a movie in UpdateActiveConfig(), so settings can't be changed for a frame.
This commit is contained in:
parent
86b4a87fef
commit
10d1d19409
|
@ -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);
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue