mirror of
https://git.743378673.xyz/MeloNX/MeloNX.git
synced 2025-06-28 03:16:23 +02:00
Expand InitializeDeviceNative Signature
This commit is contained in:
parent
229209ff53
commit
e590708f42
1 changed files with 20 additions and 2 deletions
|
@ -16,9 +16,27 @@ namespace LibRyujinx
|
|||
public static partial class LibRyujinx
|
||||
{
|
||||
[UnmanagedCallersOnly(EntryPoint = "device_initialize")]
|
||||
public static bool InitializeDeviceNative()
|
||||
public static bool InitializeDeviceNative(bool isHostMapped,
|
||||
bool useNce,
|
||||
SystemLanguage systemLanguage,
|
||||
RegionCode regionCode,
|
||||
bool enableVsync,
|
||||
bool enableDockedMode,
|
||||
bool enablePtc,
|
||||
bool enableInternetAccess,
|
||||
IntPtr timeZone,
|
||||
bool ignoreMissingServices)
|
||||
{
|
||||
return InitializeDevice(true, false, SystemLanguage.AmericanEnglish, RegionCode.USA, true, true, true, false, "UTC", false);
|
||||
return InitializeDevice(isHostMapped,
|
||||
useNce,
|
||||
systemLanguage,
|
||||
regionCode,
|
||||
enableVsync,
|
||||
enableDockedMode,
|
||||
enablePtc,
|
||||
enableInternetAccess,
|
||||
Marshal.PtrToStringAnsi(timeZone),
|
||||
ignoreMissingServices);
|
||||
}
|
||||
|
||||
[UnmanagedCallersOnly(EntryPoint = "device_reloadFilesystem")]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue