diff options
author | Sergi Granell | 2016-12-25 11:00:00 +0100 |
---|---|---|
committer | Sergi Granell | 2016-12-25 11:00:00 +0100 |
commit | 194d874e088dafdc72e04d500918830e21433a0c (patch) | |
tree | 7e5cb2f2a00eadadd2649c72c97a02c101d47aff | |
parent | Added more SceSysclibForDriver NIDs (diff) | |
download | vds-libraries-194d874e088dafdc72e04d500918830e21433a0c.tar.gz |
Update SceBt
Diffstat (limited to '')
-rw-r--r-- | include/kernel/bt.h | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/include/kernel/bt.h b/include/kernel/bt.h index fa19682..f0b0102 100644 --- a/include/kernel/bt.h +++ b/include/kernel/bt.h @@ -261,7 +261,17 @@ typedef struct { typedef struct { // mac0 is at *(unsigned int *)&data[0x08]; // mac1 is at *(unsigned int *)&data[0x0C]; - unsigned char data[0x10]; + union { + unsigned char data[0x10]; + struct { + unsigned char id; + unsigned char unk1; + unsigned short unk2; + unsigned int unk3; + unsigned int mac0; + unsigned int mac1; + }; + }; } SceBtEvent; typedef void (*SceBtCallback)(int r0, int r1, int r2, int r3); @@ -283,7 +293,7 @@ int sceBtAvrcpSendButton(int r0, int r1, int r2, int r3); int sceBtAvrcpSendVolume(int r0, int r1, int r2, int r3); int sceBtAvrcpSetPlayStatus(int r0, int r1, int r2, int r3); int sceBtAvrcpSetTitle(int r0, int r1, int r2, int r3); -int sceBtDeleteRegisteredInfo(int r0, int r1, int r2, int r3); +int sceBtDeleteRegisteredInfo(unsigned int mac0, unsigned int mac1); int sceBtFreqAudio(int r0, int r1, int r2, int r3); int sceBtGetConfiguration(void); // returns 0x0 BT disabled, 0x9 if enabled int sceBtGetConnectingInfo(unsigned int mac0, unsigned int mac1); // 1 = disconnected?, 2 = connecting?, 5 = connected? |