misc: Move the LowPowerPtc event handler that changes Optimizations.LowPower into the ConfigurationState ctor

This commit is contained in:
Evan Husted 2024-11-10 22:31:26 -06:00
parent 7369079459
commit 826ffd4a04
2 changed files with 5 additions and 4 deletions

View file

@ -24,8 +24,6 @@ namespace Ryujinx.UI.Common.Configuration
}
Instance = new ConfigurationState();
Instance.System.EnableLowPowerPtc.Event += (_, evnt) => Optimizations.LowPower = evnt.NewValue;
}
public ConfigurationFileFormat ToFileFormat()