diff options
| author | Hibyehello <joshuadcox05@gmail.com> | 2023-02-01 18:00:12 -0600 |
|---|---|---|
| committer | Hibyehello <joshuadcox05@gmail.com> | 2023-06-01 09:01:20 -0500 |
| commit | 8324a853393a0cc96d440a30e135ed72933e587d (patch) | |
| tree | 5fff8d2c265eace532e89129ed91a986ebd33f6c /Source/Core/DolphinNoGUI/MainNoGUI.cpp | |
| parent | 6743ca8e098268e7a11f26d626a15a09bd342577 (diff) | |
Add MacOS Platform
Use MacOS Standard Fullscreen hotkey
Diffstat (limited to 'Source/Core/DolphinNoGUI/MainNoGUI.cpp')
| -rw-r--r-- | Source/Core/DolphinNoGUI/MainNoGUI.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
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<Platform> 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(); @@ -199,6 +203,10 @@ int main(int argc, char* argv[]) , "win32" #endif +#ifdef __APPLE__ + , + "macos" +#endif }); optparse::Values& options = CommandLineParse::ParseArguments(parser.get(), argc, argv); |
