Fix player list array sizes
This commit is contained in:
+3
-3
@@ -240,8 +240,8 @@ void MG_DrawCheckerboardPattern(void);
|
|||||||
void Rfu_SetCloseLinkCallback(void);
|
void Rfu_SetCloseLinkCallback(void);
|
||||||
bool8 IsLinkRfuTaskFinished(void);
|
bool8 IsLinkRfuTaskFinished(void);
|
||||||
void DestroyWirelessStatusIndicatorSprite(void);
|
void DestroyWirelessStatusIndicatorSprite(void);
|
||||||
void CreateTask_LinkMysteryGiftWithFriend(u32 arg0);
|
void CreateTask_LinkMysteryGiftWithFriend(u32 activity);
|
||||||
void CreateTask_LinkMysteryGiftOverWireless(u32 arg0);
|
void CreateTask_LinkMysteryGiftOverWireless(u32 activity);
|
||||||
void CreateTask_SendMysteryGift(u32 activity);
|
void CreateTask_SendMysteryGift(u32 activity);
|
||||||
void Rfu_SendPacket(void *data);
|
void Rfu_SendPacket(void *data);
|
||||||
u8 CreateTask_ListenToWireless(void);
|
u8 CreateTask_ListenToWireless(void);
|
||||||
@@ -292,7 +292,7 @@ bool8 LmanAcceptSlotFlagIsNotZero(void);
|
|||||||
void LinkRfu_StopManagerAndFinalizeSlots(void);
|
void LinkRfu_StopManagerAndFinalizeSlots(void);
|
||||||
bool32 RfuTryDisconnectLeavingChildren(void);
|
bool32 RfuTryDisconnectLeavingChildren(void);
|
||||||
bool32 IsRfuCommunicatingWithAllChildren(void);
|
bool32 IsRfuCommunicatingWithAllChildren(void);
|
||||||
bool32 WaitRfuState(bool32 a0);
|
bool32 WaitRfuState(bool32 force);
|
||||||
bool32 HasTrainerLeftPartnersList(u16 trainerId, const u8 *trainerName);
|
bool32 HasTrainerLeftPartnersList(u16 trainerId, const u8 *trainerName);
|
||||||
void SendRfuStatusToPartner(u8 status, u16 trainerId, const u8 *name);
|
void SendRfuStatusToPartner(u8 status, u16 trainerId, const u8 *name);
|
||||||
u32 WaitSendRfuStatusToPartner(u16 trainerId, const u8 *name);
|
u32 WaitSendRfuStatusToPartner(u16 trainerId, const u8 *name);
|
||||||
|
|||||||
@@ -38,7 +38,7 @@ struct RfuPlayer
|
|||||||
|
|
||||||
struct RfuPlayerList
|
struct RfuPlayerList
|
||||||
{
|
{
|
||||||
struct RfuPlayer players[0]; // TODO: Should be size MAX_RFU_PLAYER_LIST_SIZE
|
struct RfuPlayer players[MAX_RFU_PLAYER_LIST_SIZE];
|
||||||
};
|
};
|
||||||
|
|
||||||
struct RfuIncomingPlayer
|
struct RfuIncomingPlayer
|
||||||
@@ -49,7 +49,7 @@ struct RfuIncomingPlayer
|
|||||||
|
|
||||||
struct RfuIncomingPlayerList
|
struct RfuIncomingPlayerList
|
||||||
{
|
{
|
||||||
struct RfuIncomingPlayer players[0]; // TODO: Should be size MAX_RFU_PLAYERS
|
struct RfuIncomingPlayer players[MAX_RFU_PLAYERS];
|
||||||
};
|
};
|
||||||
|
|
||||||
struct WirelessLink_Leader
|
struct WirelessLink_Leader
|
||||||
|
|||||||
Reference in New Issue
Block a user