mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-04-02 11:01:50 -04:00
Oops we already have local mac stored in context, no longer need to getLocalMac again
This commit is contained in:
parent
5155925516
commit
db3e7d80d9
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