mirror of
https://git.743378673.xyz/MeloNX/MeloNX.git
synced 2025-07-16 12:16:29 +02:00
implement an all-swift approach for detecting JIT (adds support for detecting JIT on iOS 18.4+), adds an easter egg, and more
This commit is contained in:
parent
527ac3fb23
commit
8df465a959
15 changed files with 120 additions and 208 deletions
|
@ -26,10 +26,16 @@ namespace Ryujinx.Graphics.Nvdec.FFmpeg.Native
|
|||
{
|
||||
return $"lib{libraryName}.so.{version}";
|
||||
}
|
||||
else if (OperatingSystem.IsMacOS() || OperatingSystem.IsIOS()) // TODO: ffmpeg on ios
|
||||
else if (OperatingSystem.IsMacOS())
|
||||
{
|
||||
return $"lib{libraryName}.{version}.dylib";
|
||||
}
|
||||
else if (OperatingSystem.IsIOS())
|
||||
{
|
||||
string libName = $"lib{libraryName}.{version}.dylib";
|
||||
Console.WriteLine($"[iOS] Required firmware library: {libName}");
|
||||
return libName;
|
||||
}
|
||||
else
|
||||
{
|
||||
throw new NotImplementedException($"Unsupported OS for FFmpeg: {RuntimeInformation.RuntimeIdentifier}");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue