Temps: test & fix temp detection on Intel ( macOS )

This commit is contained in:
Carter Li
2022-10-01 00:29:40 +08:00
parent b3c501516a
commit fcbeecb0d5
2 changed files with 10 additions and 9 deletions
+2
View File
@@ -15,6 +15,8 @@ static double detectGpuTemp(const FFstrbuf* gpuName)
ffDetectCoreTemps(FF_TEMP_GPU_M1X, &temps);
else if(ffStrbufStartsWithS(gpuName, "Apple M2"))
ffDetectCoreTemps(FF_TEMP_GPU_M2X, &temps);
else if(ffStrbufStartsWithS(gpuName, "Intel"))
ffDetectCoreTemps(FF_TEMP_GPU_INTEL, &temps);
else if(ffStrbufStartsWithS(gpuName, "Radeon") || ffStrbufStartsWithS(gpuName, "AMD"))
ffDetectCoreTemps(FF_TEMP_GPU_AMD, &temps);
else