mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-04-02 11:01:50 -04:00
Merge pull request #13377 from ANR2ME/adhocmatching_fix
Oops we already have local mac stored in context
This commit is contained in:
commit
4520a20a9f
1 changed files with 1 additions and 3 deletions
|
@ -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!
|
||||
|
|
Loading…
Add table
Reference in a new issue