mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-29 12:19:12 +00:00
Core/Movie: Refactor to class, move to System.
A bit of global state remains (the `header` in `BeginRecordingInput()`) due to unclear lifetime requirements.
This commit is contained in:
parent
c76dee7807
commit
95cba6be2b
32 changed files with 717 additions and 609 deletions
|
@ -47,8 +47,9 @@ static bool IsVSyncActive(bool enabled)
|
|||
|
||||
void UpdateActiveConfig()
|
||||
{
|
||||
if (Movie::IsPlayingInput() && Movie::IsConfigSaved())
|
||||
Movie::SetGraphicsConfig();
|
||||
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…
Add table
Add a link
Reference in a new issue