mirror of
https://git.ryujinx.app/ryubing/ryujinx.git
synced 2025-07-07 05:16:26 +02:00
misc: Move the LowPowerPtc event handler that changes Optimizations.LowPower into the ConfigurationState ctor
This commit is contained in:
parent
7369079459
commit
826ffd4a04
2 changed files with 5 additions and 4 deletions
|
@ -24,8 +24,6 @@ namespace Ryujinx.UI.Common.Configuration
|
|||
}
|
||||
|
||||
Instance = new ConfigurationState();
|
||||
|
||||
Instance.System.EnableLowPowerPtc.Event += (_, evnt) => Optimizations.LowPower = evnt.NewValue;
|
||||
}
|
||||
|
||||
public ConfigurationFileFormat ToFileFormat()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue