mirror of
https://git.743378673.xyz/MeloNX/MeloNX.git
synced 2025-07-20 13:57:11 +02:00
armeilleure: Add Android to GetOSPlatform for PTC
This commit is contained in:
parent
830721c372
commit
436c211b5a
1 changed files with 1 additions and 0 deletions
|
@ -1004,6 +1004,7 @@ namespace ARMeilleure.Translation.PTC
|
||||||
osPlatform |= (OperatingSystem.IsLinux() ? 1u : 0u) << 1;
|
osPlatform |= (OperatingSystem.IsLinux() ? 1u : 0u) << 1;
|
||||||
osPlatform |= (OperatingSystem.IsMacOS() ? 1u : 0u) << 2;
|
osPlatform |= (OperatingSystem.IsMacOS() ? 1u : 0u) << 2;
|
||||||
osPlatform |= (OperatingSystem.IsWindows() ? 1u : 0u) << 3;
|
osPlatform |= (OperatingSystem.IsWindows() ? 1u : 0u) << 3;
|
||||||
|
osPlatform |= (OperatingSystem.IsAndroid() ? 1u : 0u) << 4;
|
||||||
#pragma warning restore IDE0055
|
#pragma warning restore IDE0055
|
||||||
|
|
||||||
return osPlatform;
|
return osPlatform;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue