This commit is contained in:
TinyHerm committed 2026-11-24 23:40:08 +03:00
commit 1c7a8cf25f
579 files changed
+83196

No files matched your search

+27
View File
@@ -0,0 +1,27 @@
using NvAPIWrapper;
namespace VibranceHud.Display;
internal static class Nvapi
{
private static bool? _ready;
internal static bool Ready()
{
bool? ready = _ready;
if (ready.HasValue)
{
return ready == true;
}
try
{
NVIDIA.Initialize();
_ready = true;
}
catch
{
_ready = false;
}
return _ready.Value;
}
}