stratosphere: remove union from BluetoothDevicesSettings type

This commit is contained in:
ndeadly 2023-03-09 19:56:15 +01:00
parent a772408890
commit 8b76c2e6d5

View file

@ -253,14 +253,9 @@ namespace ams::settings {
u8 device_type;
u16 brr_size;
u8 brr[0x9];
union {
u8 reserved[0x12B];
struct {
u8 padding;
char name2[0xF9];
};
};
u8 reserved0;
char name2[0xF9];
u8 reserved1[0x31];
};
static_assert(sizeof(BluetoothDevicesSettings) == sizeof(::SetSysBluetoothDevicesSettings));