mirror of
https://git.743378673.xyz/MeloNX/MeloNX.git
synced 2025-06-28 03:16:23 +02:00
Hypervisor
This commit is contained in:
parent
5ee90c81e9
commit
9ce29d6ad1
27 changed files with 248 additions and 27 deletions
|
@ -1283,6 +1283,19 @@ namespace Ryujinx.Headless.SDL2
|
|||
renderer = new ThreadedRenderer(renderer);
|
||||
}
|
||||
|
||||
bool AppleHV = false;
|
||||
|
||||
if ((!OperatingSystem.IsIOSVersionAtLeast(16, 4)) && options.UseHypervisor)
|
||||
{
|
||||
AppleHV = true;
|
||||
}
|
||||
else if (OperatingSystem.IsIOS())
|
||||
{
|
||||
AppleHV = false;
|
||||
} else {
|
||||
AppleHV = options.UseHypervisor;
|
||||
}
|
||||
|
||||
HLEConfiguration configuration = new(_virtualFileSystem,
|
||||
_libHacHorizonManager,
|
||||
_contentManager,
|
||||
|
@ -1306,7 +1319,7 @@ namespace Ryujinx.Headless.SDL2
|
|||
options.IgnoreMissingServices,
|
||||
options.AspectRatio,
|
||||
options.AudioVolume,
|
||||
options.UseHypervisor ?? false,
|
||||
AppleHV,
|
||||
options.MultiplayerLanInterfaceId,
|
||||
Common.Configuration.Multiplayer.MultiplayerMode.LdnMitm);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue