mirror of
https://git.743378673.xyz/MeloNX/MeloNX.git
synced 2025-07-23 15:07:11 +02:00
add overload for loading game info from path
This commit is contained in:
parent
0066269353
commit
bb3aed5b4a
3 changed files with 33 additions and 13 deletions
|
@ -15,17 +15,17 @@ namespace LibRyujinx
|
|||
[UnmanagedCallersOnly(EntryPoint = "device_initialize")]
|
||||
public static bool InitializeDeviceNative()
|
||||
{
|
||||
return InitializeDevice(true);
|
||||
return InitializeDevice(true, false);
|
||||
}
|
||||
|
||||
public static bool InitializeDevice(bool isHostMapped)
|
||||
public static bool InitializeDevice(bool isHostMapped, bool useNce)
|
||||
{
|
||||
if (SwitchDevice == null)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
return SwitchDevice.InitializeContext(isHostMapped);
|
||||
return SwitchDevice.InitializeContext(isHostMapped, useNce);
|
||||
}
|
||||
|
||||
[UnmanagedCallersOnly(EntryPoint = "device_load")]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue