Netplay: Ensure settings layer is applied

This commit is contained in:
Stenzek 2023-05-07 14:59:50 +10:00
parent 0c3f755b80
commit e214fa3a44
1 changed files with 2 additions and 0 deletions

View File

@ -154,6 +154,7 @@ void Netplay::CloseSession()
// Restore original settings.
Host::Internal::SetNetplaySettingsLayer(nullptr);
System::ApplySettings(false);
}
bool Netplay::IsActive()
@ -187,6 +188,7 @@ void Netplay::SetSettings()
si.SetBoolValue("GPU", "UseSoftwareRendererForReadbacks", true);
Host::Internal::SetNetplaySettingsLayer(&si);
System::ApplySettings(false);
}
//////////////////////////////////////////////////////////////////////////