iOS - Set Silk.NET SearchPathContainer

This commit is contained in:
Isaac Marovitz 2024-01-01 15:43:17 -08:00 committed by Emmanuel Hansen
parent c1d19a1ada
commit deb183d432

View File

@ -41,6 +41,11 @@ namespace LibRyujinx
{
Silk.NET.Core.Loader.SearchPathContainer.Platform = Silk.NET.Core.Loader.UnderlyingPlatform.Android;
}
else if (OperatingSystem.IsIOS())
{
// Yes, macOS not iOS
Silk.NET.Core.Loader.SearchPathContainer.Platform = Silk.NET.Core.Loader.UnderlyingPlatform.MacOS;
}
return InitializeGraphics(graphicsConfiguration);
}