set: Use BtdrvAddress.

This commit is contained in:
yellows8 2020-08-12 10:34:30 -04:00
parent 3c9f16f3d9
commit 84b2e3d89d
No known key found for this signature in database
GPG Key ID: 0AF90DA3F1E60E43

View File

@ -12,6 +12,7 @@
#include "../services/time.h" #include "../services/time.h"
#include "../services/acc.h" #include "../services/acc.h"
#include "../services/fs.h" #include "../services/fs.h"
#include "../services/btdrv_types.h"
#include "../sf/service.h" #include "../sf/service.h"
#define SET_MAX_NAME_SIZE 0x48 #define SET_MAX_NAME_SIZE 0x48
@ -298,7 +299,7 @@ typedef struct {
/// BluetoothDevicesSettings /// BluetoothDevicesSettings
typedef struct { typedef struct {
u8 address[6]; ///< nn::bluetooth::Address BtdrvAddress address;
char name[0x20]; char name[0x20];
u16 unk_x26; u16 unk_x26;
u8 unk_x28; u8 unk_x28;
@ -580,7 +581,7 @@ typedef struct {
/// NxControllerSettings /// NxControllerSettings
typedef struct { typedef struct {
u8 address[6]; ///< nn::bluetooth::Address BtdrvAddress address;
u8 type; ///< \ref SetSysControllerType. u8 type; ///< \ref SetSysControllerType.
char serial[0x10]; char serial[0x10];
SetSysColor4u8Type body_color; SetSysColor4u8Type body_color;
@ -642,7 +643,7 @@ typedef struct {
/// BlePairingSettings /// BlePairingSettings
typedef struct { typedef struct {
u8 address[6]; ///< nn::bluetooth::Address BtdrvAddress address;
u16 unk_x6; u16 unk_x6;
u16 unk_x8; u16 unk_x8;
u8 unk_xA; u8 unk_xA;