mirror of
https://git.743378673.xyz/MeloNX/MeloNX.git
synced 2025-07-23 06:57:13 +02:00
add bionic nativeaot support
This commit is contained in:
parent
797a1460b3
commit
9e562e4949
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