mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-03-14 13:21:15 +00:00
Merge pull request #13410 from jordan-woyak/movie-vconfig
Movie: Eliminate MovieManager::SetGraphicsConfig.
This commit is contained in:
commit
1698daef66
@ -67,7 +67,6 @@
|
||||
#include "InputCommon/GCPadStatus.h"
|
||||
|
||||
#include "VideoCommon/VideoBackendBase.h"
|
||||
#include "VideoCommon/VideoConfig.h"
|
||||
|
||||
namespace Movie
|
||||
{
|
||||
@ -1408,16 +1407,6 @@ void MovieManager::SaveRecording(const std::string& filename)
|
||||
Core::DisplayMessage(fmt::format("Failed to save {}", filename), 2000);
|
||||
}
|
||||
|
||||
// NOTE: GPU Thread
|
||||
void MovieManager::SetGraphicsConfig()
|
||||
{
|
||||
g_Config.bEFBAccessEnable = m_temp_header.bEFBAccessEnable;
|
||||
g_Config.bSkipEFBCopyToRam = m_temp_header.bSkipEFBCopyToRam;
|
||||
g_Config.bEFBEmulateFormatChanges = m_temp_header.bEFBEmulateFormatChanges;
|
||||
g_Config.bImmediateXFB = m_temp_header.bImmediateXFB;
|
||||
g_Config.bSkipXFBCopyToRam = m_temp_header.bSkipXFBCopyToRam;
|
||||
}
|
||||
|
||||
// NOTE: EmuThread / Host Thread
|
||||
void MovieManager::GetSettings()
|
||||
{
|
||||
|
@ -192,7 +192,6 @@ public:
|
||||
bool IsConfigSaved() const;
|
||||
bool IsStartingFromClearSave() const;
|
||||
bool IsUsingMemcard(ExpansionInterface::Slot slot) const;
|
||||
void SetGraphicsConfig();
|
||||
bool IsNetPlayRecording() const;
|
||||
|
||||
bool IsUsingPad(int controller) const;
|
||||
|
@ -44,9 +44,6 @@ static bool IsVSyncActive(bool enabled)
|
||||
|
||||
void UpdateActiveConfig()
|
||||
{
|
||||
auto& movie = Core::System::GetInstance().GetMovie();
|
||||
if (movie.IsPlayingInput() && movie.IsConfigSaved())
|
||||
movie.SetGraphicsConfig();
|
||||
g_ActiveConfig = g_Config;
|
||||
g_ActiveConfig.bVSyncActive = IsVSyncActive(g_ActiveConfig.bVSync);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user