Merge pull request #13410 from jordan-woyak/movie-vconfig

Movie: Eliminate MovieManager::SetGraphicsConfig.
This commit is contained in:
JMC47 2025-03-11 18:58:45 -04:00 committed by GitHub
commit 1698daef66
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 0 additions and 15 deletions

View File

@ -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()
{

View File

@ -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;

View File

@ -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);
}