mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-21 05:09:34 -06:00
Add MacOS Platform
Use MacOS Standard Fullscreen hotkey
This commit is contained in:
@ -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();
|
||||
@ -198,6 +202,10 @@ int main(int argc, char* argv[])
|
||||
#ifdef _WIN32
|
||||
,
|
||||
"win32"
|
||||
#endif
|
||||
#ifdef __APPLE__
|
||||
,
|
||||
"macos"
|
||||
#endif
|
||||
});
|
||||
|
||||
|
Reference in New Issue
Block a user