diff --git a/osu.Game/Configuration/OsuConfigManager.cs b/osu.Game/Configuration/OsuConfigManager.cs index b995344db6..e0134fcf41 100644 --- a/osu.Game/Configuration/OsuConfigManager.cs +++ b/osu.Game/Configuration/OsuConfigManager.cs @@ -325,7 +325,6 @@ namespace osu.Game.Configuration SaveUsername, TreeSortMode, TreeSortMode2, - FrameSync, ShowUnicode, PermanentSongInfo, Ticker, diff --git a/osu.Game/Overlays/Options/Graphics/RendererOptions.cs b/osu.Game/Overlays/Options/Graphics/RendererOptions.cs index 895f713346..505881315d 100644 --- a/osu.Game/Overlays/Options/Graphics/RendererOptions.cs +++ b/osu.Game/Overlays/Options/Graphics/RendererOptions.cs @@ -16,7 +16,7 @@ namespace osu.Game.Overlays.Options.Graphics protected override string Header => "Renderer"; [BackgroundDependencyLoader] - private void load(OsuConfigManager config) + private void load(OsuConfigManager osuConfig, FrameworkConfigManager config) { // NOTE: Compatability mode omitted Children = new Drawable[] @@ -25,22 +25,22 @@ namespace osu.Game.Overlays.Options.Graphics new DropdownOption { LabelText = "Frame limiter", - Bindable = config.GetBindable(OsuConfig.FrameSync) + Bindable = config.GetBindable(FrameworkConfig.FrameSync) }, new CheckBoxOption { LabelText = "Show FPS counter", - Bindable = config.GetBindable(OsuConfig.FpsCounter), + Bindable = osuConfig.GetBindable(OsuConfig.FpsCounter), }, new CheckBoxOption { LabelText = "Reduce dropped frames", - Bindable = config.GetBindable(OsuConfig.ForceFrameFlush), + Bindable = osuConfig.GetBindable(OsuConfig.ForceFrameFlush), }, new CheckBoxOption { LabelText = "Detect performance issues", - Bindable = config.GetBindable(OsuConfig.DetectPerformanceIssues), + Bindable = osuConfig.GetBindable(OsuConfig.DetectPerformanceIssues), }, }; }