mirror of
https://git.743378673.xyz/MeloNX/MeloNX.git
synced 2025-07-19 05:36:29 +02:00
add bionic nativeaot support
This commit is contained in:
parent
ad0f9a7fc7
commit
4d06f19fe7
45 changed files with 2046 additions and 27 deletions
|
@ -15,17 +15,17 @@ namespace LibRyujinx
|
|||
[UnmanagedCallersOnly(EntryPoint = "device_initialize")]
|
||||
public static bool InitializeDeviceNative()
|
||||
{
|
||||
return InitializeDevice();
|
||||
return InitializeDevice(true);
|
||||
}
|
||||
|
||||
public static bool InitializeDevice()
|
||||
public static bool InitializeDevice(bool isHostMapped)
|
||||
{
|
||||
if (SwitchDevice == null)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
return SwitchDevice.InitializeContext();
|
||||
return SwitchDevice.InitializeContext(isHostMapped);
|
||||
}
|
||||
|
||||
[UnmanagedCallersOnly(EntryPoint = "device_load")]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue