Brightness fallback

This commit is contained in:
Serge
2024-03-07 14:12:20 +01:00
parent 06378162c8
commit 35ceea878f

View File

@@ -28,7 +28,8 @@ namespace GHelper.Display
if (isSplenddid)
{
var result = ProcessHelper.RunCMD(splendid, (isGameVisual ? 19 : 9) + " 0 " + (40 + _brightness * 0.6));
if (!result.Contains("file not exist")) return;
bool fail = result.Contains("file not exist") || (result.Length == 0 && isGameVisual);
if (!fail) return;
}
// GammaRamp Fallback