diff --git a/src/detection/cpu/cpu_apple.c b/src/detection/cpu/cpu_apple.c index 3c5f45940..388f93ccc 100644 --- a/src/detection/cpu/cpu_apple.c +++ b/src/detection/cpu/cpu_apple.c @@ -59,7 +59,12 @@ static const char* detectFrequency(FFCPUResult* cpu) pMax = pMax > pStart[i] ? pMax : pStart[i]; if (pMax > 0) - cpu->frequencyMax = pMax / 1000 / 1000; + { + if (pMax > 100000000) // Assume that pMax is in MHz, M1~M3 + cpu->frequencyMax = pMax / 1000 / 1000; + else // Assume that pMax is in kHz, M4 and later (#1394) + cpu->frequencyMax = pMax / 1000; + } return NULL; }