diff options
| author | Rachel Bryk <RachelBryk@gmail.com> | 2013-05-21 19:20:22 -0400 |
|---|---|---|
| committer | Rachel Bryk <RachelBryk@gmail.com> | 2013-05-21 19:20:22 -0400 |
| commit | 10d1d194092a019aa755c84ae4648bae76ceab37 (patch) | |
| tree | ed4f3923a0591fee316fd801d56baf3efee3bd22 /Source/Core/VideoCommon | |
| parent | 86b4a87fef3c139116a87d5b183108346f62e9f2 (diff) | |
Set graphics settings while playing a movie in UpdateActiveConfig(), so settings can't be changed for a frame.
Diffstat (limited to 'Source/Core/VideoCommon')
| -rw-r--r-- | Source/Core/VideoCommon/Src/VideoConfig.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Source/Core/VideoCommon/Src/VideoConfig.cpp b/Source/Core/VideoCommon/Src/VideoConfig.cpp index 6e1bc31e55..7827c0008a 100644 --- a/Source/Core/VideoCommon/Src/VideoConfig.cpp +++ b/Source/Core/VideoCommon/Src/VideoConfig.cpp @@ -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; } |
