mirror of
https://github.com/jkocon/g-helper.git
synced 2026-02-23 13:00:52 +01:00
Brightness fallback
This commit is contained in:
@@ -28,7 +28,8 @@ namespace GHelper.Display
|
|||||||
if (isSplenddid)
|
if (isSplenddid)
|
||||||
{
|
{
|
||||||
var result = ProcessHelper.RunCMD(splendid, (isGameVisual ? 19 : 9) + " 0 " + (40 + _brightness * 0.6));
|
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
|
// GammaRamp Fallback
|
||||||
|
|||||||
Reference in New Issue
Block a user