From 6478b50803ee3d4a997352a8ad09ceb990c2f4df Mon Sep 17 00:00:00 2001 From: Sergey Fedorov Date: Fri, 7 Aug 2026 03:16:43 +0000 Subject: [PATCH 16/38] CPU: declare ffCPUApplePPCCodeToName() Ported from https://github.com/macos-powerpc/powerpc-ports/blob/main/sysutils/fastfetch/files/0003-Support-PowerPC-CPU-detection.patch --- src/detection/cpu/cpu.h | 1 + 1 file changed, 1 insertion(+) diff --git a/src/detection/cpu/cpu.h b/src/detection/cpu/cpu.h index 4e47ca10a..77926845b 100644 --- a/src/detection/cpu/cpu.h +++ b/src/detection/cpu/cpu.h @@ -36,6 +36,7 @@ typedef struct FFCPUResult { const char* ffDetectCPU(const FFCPUOptions* options, FFCPUResult* cpu); const char* ffCPUAppleCodeToName(uint32_t code); +const char* ffCPUApplePPCCodeToName(int cpuSubType); const char* ffCPUQualcommCodeToName(uint32_t code); void ffCPUDetectByCpuid(FFCPUResult* cpu); -- 2.43.0