From 2a20338885f5c511a162581086180b1b4df054ab Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=8E=E9=80=9A=E6=B4=B2?= Date: Wed, 5 Jul 2023 08:40:50 +0800 Subject: [PATCH] Host (macOS): fix incorrect Host on M2 Mac Studio with M2 Max CPU (#490) --- src/detection/host/host_apple.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/detection/host/host_apple.c b/src/detection/host/host_apple.c index a07c9d356..1c5789c70 100644 --- a/src/detection/host/host_apple.c +++ b/src/detection/host/host_apple.c @@ -109,8 +109,8 @@ static const char* getProductName(const FFstrbuf* hwModel) { const char* version = hwModel->chars + strlen("Mac"); if(ffStrEquals(version, "14,15")) return "MacBook Air (15-inch, M2, 2023)"; - if(ffStrEquals(version, "14,14")) return "Mac Studio (M2 Max, 2023, Two USB-C front ports)"; - if(ffStrEquals(version, "14,13")) return "Mac Studio (M2 Ultra, 2023, Two Thunderbolt 4 front ports)"; + if(ffStrEquals(version, "14,14")) return "Mac Studio (M2 Ultra, 2023, Two Thunderbolt 4 front ports)"; + if(ffStrEquals(version, "14,13")) return "Mac Studio (M2 Max, 2023, Two USB-C front ports)"; if(ffStrEquals(version, "14,8")) return "Mac Pro (2023)"; if(ffStrEquals(version, "14,6") || ffStrEquals(version, "14,10")) return "MacBook Pro (16-inch, 2023)";