mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-03-12 06:39:14 +01:00
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_totalFrames = g_currentFrame;
|
||||||
g_totalLagCount = g_currentLagCount;
|
g_totalLagCount = g_currentLagCount;
|
||||||
}
|
}
|
||||||
if (IsPlayingInput() && IsConfigSaved())
|
|
||||||
{
|
|
||||||
SetGraphicsConfig();
|
|
||||||
}
|
|
||||||
|
|
||||||
if (g_bFrameStep)
|
if (g_bFrameStep)
|
||||||
{
|
{
|
||||||
Core::SetState(Core::CORE_PAUSE);
|
Core::SetState(Core::CORE_PAUSE);
|
||||||
|
@ -10,12 +10,15 @@
|
|||||||
#include "VideoCommon.h"
|
#include "VideoCommon.h"
|
||||||
#include "FileUtil.h"
|
#include "FileUtil.h"
|
||||||
#include "Core.h"
|
#include "Core.h"
|
||||||
|
#include "Movie.h"
|
||||||
|
|
||||||
VideoConfig g_Config;
|
VideoConfig g_Config;
|
||||||
VideoConfig g_ActiveConfig;
|
VideoConfig g_ActiveConfig;
|
||||||
|
|
||||||
void UpdateActiveConfig()
|
void UpdateActiveConfig()
|
||||||
{
|
{
|
||||||
|
if (Movie::IsPlayingInput() && Movie::IsConfigSaved())
|
||||||
|
Movie::SetGraphicsConfig();
|
||||||
g_ActiveConfig = g_Config;
|
g_ActiveConfig = g_Config;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user