Merge pull request #13377 from ANR2ME/adhocmatching_fix

Oops we already have local mac stored in context
This commit is contained in:
Henrik Rydgård 2020-09-04 07:17:38 +02:00 committed by GitHub
commit 4520a20a9f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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!