Skip to content

Commit 15db22c

Browse files
committed
Cleanup
1 parent 0c13328 commit 15db22c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/Display/VisualControl.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -254,7 +254,7 @@ public static void SetVisual(SplendidCommand mode = SplendidCommand.Default, int
254254
{
255255
if (mode == SplendidCommand.None) return;
256256
if ((mode == SplendidCommand.Default || mode == SplendidCommand.VivoNormal) && init) return; // Skip default setting on init
257-
if (!RyzenControl.IsAMD() && mode == SplendidCommand.Disabled && init) return; // Skip disabled setting for Intel devices
257+
if (mode == SplendidCommand.Disabled && !RyzenControl.IsAMD() && init) return; // Skip disabled setting for Intel devices
258258

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

0 commit comments

Comments
 (0)