mirror of
https://git.743378673.xyz/MeloNX/MeloNX.git
synced 2025-06-28 19:36:24 +02:00
Expand InitializeDeviceNative Signature
This commit is contained in:
parent
29a0c1caed
commit
5f18d19f23
1 changed files with 20 additions and 2 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue