forked from MeloNX/MeloNX
Expand InitializeDeviceNative Signature
This commit is contained in:
parent
229209ff53
commit
e590708f42
@ -16,9 +16,27 @@ namespace LibRyujinx
|
|||||||
public static partial class LibRyujinx
|
public static partial class LibRyujinx
|
||||||
{
|
{
|
||||||
[UnmanagedCallersOnly(EntryPoint = "device_initialize")]
|
[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")]
|
[UnmanagedCallersOnly(EntryPoint = "device_reloadFilesystem")]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user