Skip to content

Commit f74c643

Browse files
committed
Host (macOS): fix incorrect Host on M2 Mac Studio with M2 Max CPU (#490)
1 parent 03efbe5 commit f74c643

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/detection/host/host_apple.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -113,8 +113,8 @@ static const char* getProductName(const FFstrbuf* hwModel)
113113
{
114114
const char* version = hwModel->chars + strlen("Mac");
115115
if(strEqual(version, "14,15")) return "MacBook Air (15-inch, M2, 2023)";
116-
if(strEqual(version, "14,14")) return "Mac Studio (M2 Max, 2023, Two USB-C front ports)";
117-
if(strEqual(version, "14,13")) return "Mac Studio (M2 Ultra, 2023, Two Thunderbolt 4 front ports)";
116+
if(strEqual(version, "14,14")) return "Mac Studio (M2 Ultra, 2023, Two Thunderbolt 4 front ports)";
117+
if(strEqual(version, "14,13")) return "Mac Studio (M2 Max, 2023, Two USB-C front ports)";
118118
if(strEqual(version, "14,8")) return "Mac Pro (2023)";
119119
if(strEqual(version, "14,6") ||
120120
strEqual(version, "14,10")) return "MacBook Pro (16-inch, 2023)";

0 commit comments

Comments
 (0)