Archived
1
0
forked from MeloNX/MeloNX

armeilleure: Add Android to GetOSPlatform for PTC

(cherry picked from commit 6b6e62bf9624badbfda356f083d0e7f503c8208e)
This commit is contained in:
Mary 2023-05-08 15:18:17 +02:00 committed by Emmanuel Hansen
parent 3042cabb02
commit 909558859d

View File

@ -1010,6 +1010,7 @@ namespace ARMeilleure.Translation.PTC
osPlatform |= (OperatingSystem.IsLinux() ? 1u : 0u) << 1;
osPlatform |= (OperatingSystem.IsMacOS() ? 1u : 0u) << 2;
osPlatform |= (OperatingSystem.IsWindows() ? 1u : 0u) << 3;
osPlatform |= (OperatingSystem.IsAndroid() ? 1u : 0u) << 4;
#pragma warning restore IDE0055
return osPlatform;