mirror of
https://git.ryujinx.app/ryubing/ryujinx.git
synced 2026-06-01 18:09:15 +00:00
Structural and Memory Safety Improvements, Analyzer Cleanup (ryubing/ryujinx!47)
See merge request ryubing/ryujinx!47
This commit is contained in:
@@ -4,12 +4,12 @@ namespace Ryujinx.Horizon.Sdk.Settings.System
|
||||
{
|
||||
struct AccountNotificationSettings
|
||||
{
|
||||
#pragma warning disable CS0649 // Field is never assigned to
|
||||
|
||||
public Uid UserId;
|
||||
public uint Flags;
|
||||
public byte FriendPresenceOverlayPermission;
|
||||
public byte FriendInvitationOverlayPermission;
|
||||
public ushort Reserved;
|
||||
#pragma warning restore CS0649
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
@@ -4,7 +4,7 @@ namespace Ryujinx.Horizon.Sdk.Settings.System
|
||||
{
|
||||
struct BluetoothDevicesSettings
|
||||
{
|
||||
#pragma warning disable CS0649 // Field is never assigned to
|
||||
|
||||
public Array6<byte> BdAddr;
|
||||
public Array32<byte> DeviceName;
|
||||
public Array3<byte> ClassOfDevice;
|
||||
@@ -24,6 +24,6 @@ namespace Ryujinx.Horizon.Sdk.Settings.System
|
||||
public Array9<byte> Brr;
|
||||
public Array256<byte> Reserved;
|
||||
public Array43<byte> Reserved2;
|
||||
#pragma warning restore CS0649
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
@@ -21,10 +21,10 @@ namespace Ryujinx.Horizon.Sdk.Settings.System
|
||||
|
||||
struct NotificationTime
|
||||
{
|
||||
#pragma warning disable CS0649 // Field is never assigned to
|
||||
|
||||
public uint Hour;
|
||||
public uint Minute;
|
||||
#pragma warning restore CS0649
|
||||
|
||||
}
|
||||
|
||||
[StructLayout(LayoutKind.Sequential, Size = 0x18, Pack = 0x4)]
|
||||
|
||||
Reference in New Issue
Block a user