stratosphere: remove union from BluetoothDevicesSettings type

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

View file

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