From 625616bd4484ecc167750be6e95a244caed6f5e8 Mon Sep 17 00:00:00 2001 From: yellows8 Date: Wed, 26 Aug 2020 19:10:38 -0400 Subject: [PATCH] btm: Update the right struct, BtmDeviceInfoList. --- nx/include/switch/services/btm.h | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/nx/include/switch/services/btm.h b/nx/include/switch/services/btm.h index 2a18f600..cac7f99b 100644 --- a/nx/include/switch/services/btm.h +++ b/nx/include/switch/services/btm.h @@ -28,21 +28,21 @@ typedef struct { u8 unk_x0[0x64]; ///< Unknown } BtmDeviceSlotModeList; -/// DeviceInfoList -typedef struct { - u8 unk_x0[0x3C4]; ///< Unknown -} BtmDeviceInfoList; - /// DeviceInfo typedef struct { u8 unk_x0[0x60]; ///< Unknown } BtmDeviceInfo; -/// DevicePropertyList +/// DeviceInfoList typedef struct { u8 total_entries; ///< Total entries. u8 pad[3]; ///< Padding BtmDeviceInfo devices[10]; ///< Array of \ref BtmDeviceInfo with the above entry total. +} BtmDeviceInfoList; + +/// DevicePropertyList +typedef struct { + u8 unk_x0[0x268]; ///< Unknown } BtmDevicePropertyList; /// ZeroRetransmissionList