Skip to content

Commit

Permalink
Bugfix
Browse files Browse the repository at this point in the history
  • Loading branch information
airtaxi committed Aug 25, 2024
1 parent a0212cb commit 23f0d64
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion PinStats/HardwareMonitor.cs
Original file line number Diff line number Diff line change
Expand Up @@ -625,7 +625,7 @@ private static void OnGpuUsageTimerElapsed(object sender, ElapsedEventArgs e)

float usage = 0;

if (RuntimeInformation.ProcessArchitecture == Architecture.X86 && RuntimeInformation.ProcessArchitecture == Architecture.X64)
if (RuntimeInformation.ProcessArchitecture == Architecture.X86 || RuntimeInformation.ProcessArchitecture == Architecture.X64)
{

var gpuHardware = GetCurrentGpuHardware();
Expand Down

0 comments on commit 23f0d64

Please sign in to comment.