From 8324a853393a0cc96d440a30e135ed72933e587d Mon Sep 17 00:00:00 2001 From: Hibyehello Date: Wed, 1 Feb 2023 18:00:12 -0600 Subject: Add MacOS Platform Use MacOS Standard Fullscreen hotkey --- Source/Core/DolphinNoGUI/MainNoGUI.cpp | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'Source/Core/DolphinNoGUI/MainNoGUI.cpp') diff --git a/Source/Core/DolphinNoGUI/MainNoGUI.cpp b/Source/Core/DolphinNoGUI/MainNoGUI.cpp index 9ba5de1e98..887181acb2 100644 --- a/Source/Core/DolphinNoGUI/MainNoGUI.cpp +++ b/Source/Core/DolphinNoGUI/MainNoGUI.cpp @@ -168,6 +168,10 @@ static std::unique_ptr GetPlatform(const optparse::Values& options) if (platform_name == "win32" || platform_name.empty()) return Platform::CreateWin32Platform(); #endif +#ifdef __APPLE__ + if (platform_name == "macos" || platform_name.empty()) + return Platform::CreateMacOSPlatform(); +#endif if (platform_name == "headless" || platform_name.empty()) return Platform::CreateHeadlessPlatform(); @@ -198,6 +202,10 @@ int main(int argc, char* argv[]) #ifdef _WIN32 , "win32" +#endif +#ifdef __APPLE__ + , + "macos" #endif }); -- cgit v1.2.3