diff options
author | GriffinR <griffin.g.richards@gmail.com> | 2021-10-26 13:37:24 -0400 |
---|---|---|
committer | GriffinR <griffin.g.richards@gmail.com> | 2021-10-26 15:44:42 -0400 |
commit | b0c27a852100dfd3b2eddd51e9742cb6a3b14cbe (patch) | |
tree | b464029565090eef834bfa0ab45068f6ac335b06 /include/link.h | |
parent | 6dc3c9864c80557a81c080e0a5893d9d8765c635 (diff) |
Document ereader screen
Diffstat (limited to 'include/link.h')
-rw-r--r-- | include/link.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/include/link.h b/include/link.h index 4e0491356..6061745af 100644 --- a/include/link.h +++ b/include/link.h @@ -124,8 +124,9 @@ struct LinkStatus u32 errors:7; }; -#define MASTER_HANDSHAKE 0x8FFF -#define SLAVE_HANDSHAKE 0xB9A0 +#define MASTER_HANDSHAKE 0x8FFF +#define SLAVE_HANDSHAKE 0xB9A0 +#define EREADER_HANDSHAKE 0xCCD0 #define SIO_MULTI_CNT ((struct SioMultiCnt *)REG_ADDR_SIOCNT) @@ -208,7 +209,7 @@ struct Link /* 0x001 */ u8 state; /* 0x002 */ u8 localId; // local multi-player ID /* 0x003 */ u8 playerCount; - /* 0x004 */ u16 tempRecvBuffer[4]; + /* 0x004 */ u16 handshakeBuffer[MAX_LINK_PLAYERS]; /* 0x00c */ bool8 receivedNothing; /* 0x00d */ s8 serialIntrCounter; /* 0x00e */ bool8 handshakeAsMaster; |