Update editorconfig + changes (#771)

This commit is contained in:
PhyxionNL
2022-06-29 19:38:57 +02:00
committed by GitHub
parent 47f33f91d9
commit 38b97e10d0
68 changed files with 1530 additions and 2287 deletions
+1 -1
View File
@@ -191,7 +191,7 @@ namespace LibreHardwareMonitor.Interop
IntPtr ptr = Marshal.AllocHGlobal(size);
ADLStatus result = ADL_Adapter_AdapterInfo_Get(ptr, size);
for (int i = 0; i < info.Length; i++)
info[i] = (ADLAdapterInfo)Marshal.PtrToStructure((IntPtr)((long)ptr + i * elementSize), typeof(ADLAdapterInfo));
info[i] = (ADLAdapterInfo)Marshal.PtrToStructure((IntPtr)((long)ptr + (i * elementSize)), typeof(ADLAdapterInfo));
Marshal.FreeHGlobal(ptr);
+1 -1
View File
@@ -1284,7 +1284,7 @@ namespace LibreHardwareMonitor.Interop
public byte Reserved3;
/// <summary>
/// byte 532:533 O - Atomic Compare & Write Unit (ACWU)
/// byte 532:533 O - Atomic Compare and Write Unit (ACWU)
/// </summary>
public ushort ACWU;