Common (macOS): adds M5x temp detection support

This commit is contained in:
Carter Li
2026-07-22 11:08:17 +08:00
parent bc1d305aaa
commit 47dfd8a271
4 changed files with 43 additions and 0 deletions
+3
View File
@@ -28,6 +28,9 @@ static double detectGpuTemp(const FFstrbuf* gpuName) {
case 4:
error = ffDetectSmcTemps(FF_TEMP_GPU_M4X, &result);
break;
case 5:
error = ffDetectSmcTemps(FF_TEMP_GPU_M5X, &result);
break;
default:
error = "Unsupported Apple Silicon GPU";
break;