Oops we already have local mac stored in context, no longer need to getLocalMac again

This commit is contained in:
ANR2ME 2020-09-04 08:35:40 +07:00
parent 5155925516
commit db3e7d80d9

View file

@ -5089,9 +5089,7 @@ void actOnAcceptPacket(SceNetAdhocMatchingContext * context, SceNetEtherAddr * s
postAcceptAddSiblings(context, siblingcount, siblings);
// Add Self Peer to the following position (using peer->state = 0 to identify as Self)
SceNetEtherAddr selfMAC;
getLocalMac(&selfMAC);
addMember(context, &selfMAC);
addMember(context, &context->mac);
}
// IMPORTANT! The Event Order here is ok!