Misc missing constant use

This commit is contained in:
GriffinR
2023-08-10 01:21:38 -04:00
parent da238562f0
commit 18319e8da3
22 changed files with 254 additions and 218 deletions

View File

@@ -1918,7 +1918,8 @@ static void Task_PlayerExchangeUpdate(u8 taskId)
for (i = 0; i < RFU_CHILD_MAX; i++)
sio->linkPlayerIdx[i] = gRfu.linkPlayerIdx[i];
memcpy(sio->linkPlayers, gLinkPlayers, sizeof(gLinkPlayers));
if (SendBlock(0, gBlockSendBuffer, 0xa0))
// Send SioInfo but exclude the 92 unused bytes at the end
if (SendBlock(0, gBlockSendBuffer, offsetof(struct SioInfo, filler)))
gTasks[taskId].tState++;
break;
case 5: