mirror of
https://github.com/jkocon/g-helper.git
synced 2026-02-23 13:00:52 +01:00
Ally controller wake up tweaks
This commit is contained in:
@@ -168,6 +168,9 @@ public class AmdGpuControl : IGpuControl
|
||||
if (_adlContextHandle == nint.Zero || _iGPU == null) return -1;
|
||||
ADLFPSSettingsOutput settings;
|
||||
if (ADL2_FPS_Settings_Get(_adlContextHandle, ((ADLAdapterInfo)_iGPU).AdapterIndex, out settings) != Adl2.ADL_SUCCESS) return -1;
|
||||
|
||||
Logger.WriteLine($"FPS Limit: {settings.ulACFPSCurrent}");
|
||||
|
||||
return settings.ulACFPSCurrent;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user