mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-01 21:58:48 +00:00
Add MacOS Platform
Use MacOS Standard Fullscreen hotkey
This commit is contained in:
parent
6743ca8e09
commit
8324a85339
4 changed files with 451 additions and 0 deletions
|
@ -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
|
||||
});
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue