mirror of
https://github.com/fastfetch-cli/fastfetch.git
synced 2026-10-28 07:44:06 +01:00
CPU (Linux): adds SoC name of MacBook Neo
This commit is contained in:
@@ -31,7 +31,7 @@ const char* ffDetectCPU(const FFCPUOptions* options, FFCPUResult* cpu) {
|
||||
}
|
||||
|
||||
const char* ffCPUAppleCodeToName(uint32_t code) {
|
||||
// https://github.com/AsahiLinux/docs/wiki/Codenames
|
||||
// https://github.com/AsahiLinux/docs/blob/main/docs/hw/soc/soc-codenames.md
|
||||
switch (code) {
|
||||
case 8103:
|
||||
return "Apple M1";
|
||||
@@ -62,6 +62,8 @@ const char* ffCPUAppleCodeToName(uint32_t code) {
|
||||
return "Apple M4 Pro";
|
||||
case 6041:
|
||||
return "Apple M4 Max";
|
||||
case 8140:
|
||||
return "Apple A18 Pro";
|
||||
case 8142:
|
||||
return "Apple M5";
|
||||
case 6050:
|
||||
|
||||
Reference in New Issue
Block a user