From 48a7981d3beb4ab49527af217b149186f9996ca3 Mon Sep 17 00:00:00 2001 From: Cvolton Date: Thu, 13 Jun 2024 14:02:08 +0200 Subject: [PATCH] split GEODE_PLATFORM_NAME for MacArm and MacIntel --- loader/include/Geode/platform/cplatform.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/loader/include/Geode/platform/cplatform.h b/loader/include/Geode/platform/cplatform.h index cc8389cf..c930d4c2 100644 --- a/loader/include/Geode/platform/cplatform.h +++ b/loader/include/Geode/platform/cplatform.h @@ -53,16 +53,17 @@ #define GEODE_MACOS(...) __VA_ARGS__ #define GEODE_IS_MACOS #define GEODE_IS_DESKTOP - #define GEODE_PLATFORM_NAME "MacOS" #define GEODE_PLATFORM_EXTENSION ".dylib" #define CC_TARGET_OS_MAC #if TARGET_CPU_ARM64 + #define GEODE_PLATFORM_NAME "MacArm" #define GEODE_IS_ARM_MAC #define GEODE_PLATFORM_SHORT_IDENTIFIER "mac-arm" #define GEODE_ARM_MAC(...) __VA_ARGS__ #define GEODE_INTEL_MAC(...) #else + #define GEODE_PLATFORM_NAME "MacIntel" #define GEODE_IS_INTEL_MAC #define GEODE_PLATFORM_SHORT_IDENTIFIER "mac-intel" #define GEODE_ARM_MAC(...)