diff options
author | GriffinR <griffin.g.richards@gmail.com> | 2021-10-05 23:38:36 -0400 |
---|---|---|
committer | GriffinR <griffin.g.richards@gmail.com> | 2021-10-07 10:43:03 -0400 |
commit | 6aaf50ee27c175c8e54c7299fdc86d90b0b29187 (patch) | |
tree | 2152fab10b10669b6a1ead030814dfe61960cd92 /src/librfu_rfu.c | |
parent | 4efa6c882a68d69e32f59580faa438a6b1fd0b68 (diff) |
Rename GF Gname, Rfu, finish bulk of Union Room, more link doc
Diffstat (limited to 'src/librfu_rfu.c')
-rw-r--r-- | src/librfu_rfu.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/librfu_rfu.c b/src/librfu_rfu.c index 309fc4ead..55c80580e 100644 --- a/src/librfu_rfu.c +++ b/src/librfu_rfu.c @@ -1,6 +1,14 @@ #include <limits.h> #include "librfu.h" +// If expanding the length of the player name and wireless link functionality is +// desired, ensure that the name string is limited in size when it's copied from the +// saveblock to any Rfu-related fields (e.g. in SetHostRfuUsername). +// If wireless link functionality is not desired ignore or delete this warning. +#if RFU_USER_NAME_LENGTH < (PLAYER_NAME_LENGTH + 1) +#warning "The Wireless Adapter hardware expects a username of no more than 8 bytes." +#endif + struct LLSFStruct { u8 frameSize; |