mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-04-02 11:01:50 -04:00
Fix some logs text
This commit is contained in:
parent
c8ea017e8c
commit
5153b60637
1 changed files with 6 additions and 3 deletions
|
@ -3775,12 +3775,12 @@ static int sceNetAdhocMatchingGetMembers(int matchingId, u32 sizeAddr, u32 buf)
|
|||
|
||||
// Parent Mode
|
||||
if (context->mode == PSP_ADHOC_MATCHING_MODE_PARENT) {
|
||||
// Interested in Children (Michael Jackson Style)
|
||||
// Interested in Children
|
||||
if (peer->state == PSP_ADHOC_MATCHING_PEER_CHILD) {
|
||||
// Add Child MAC
|
||||
buf2[filledpeers++].mac_addr = peer->mac;
|
||||
|
||||
DEBUG_LOG(SCENET, "MemberParent [%s]", mac2str(&peer->mac).c_str());
|
||||
DEBUG_LOG(SCENET, "MemberChild [%s]", mac2str(&peer->mac).c_str());
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -3792,7 +3792,10 @@ static int sceNetAdhocMatchingGetMembers(int matchingId, u32 sizeAddr, u32 buf)
|
|||
// Add Peer MAC
|
||||
buf2[filledpeers++].mac_addr = peer->mac;
|
||||
|
||||
DEBUG_LOG(SCENET, "MemberChild [%s]", mac2str(&peer->mac).c_str());
|
||||
if (peer->state == PSP_ADHOC_MATCHING_PEER_PARENT)
|
||||
DEBUG_LOG(SCENET, "MemberParent [%s]", mac2str(&peer->mac).c_str());
|
||||
else
|
||||
DEBUG_LOG(SCENET, "MemberSibling [%s]", mac2str(&peer->mac).c_str());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue