Skip to content

Commit

Permalink
Cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
seerge committed Jan 14, 2025
1 parent 0c13328 commit 15db22c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/Display/VisualControl.cs
Original file line number Diff line number Diff line change
Expand Up @@ -254,7 +254,7 @@ public static void SetVisual(SplendidCommand mode = SplendidCommand.Default, int
{
if (mode == SplendidCommand.None) return;
if ((mode == SplendidCommand.Default || mode == SplendidCommand.VivoNormal) && init) return; // Skip default setting on init
if (!RyzenControl.IsAMD() && mode == SplendidCommand.Disabled && init) return; // Skip disabled setting for Intel devices
if (mode == SplendidCommand.Disabled && !RyzenControl.IsAMD() && init) return; // Skip disabled setting for Intel devices

if (!forceVisual && ScreenCCD.GetHDRStatus(true)) return;
if (!forceVisual && ScreenNative.GetRefreshRate(ScreenNative.FindLaptopScreen(true)) < 0) return;
Expand Down

0 comments on commit 15db22c

Please sign in to comment.