mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-04-02 11:01:50 -04:00
Fix possible crash issue
This commit is contained in:
parent
61d73e46e6
commit
15d3e69c4c
1 changed files with 3 additions and 0 deletions
|
@ -667,6 +667,9 @@ s32_le countChildren(SceNetAdhocMatchingContext * context, const bool excludeTim
|
|||
*/
|
||||
SceNetAdhocMatchingMemberInternal * findPeer(SceNetAdhocMatchingContext * context, SceNetEtherAddr * mac)
|
||||
{
|
||||
if (mac == NULL)
|
||||
return NULL;
|
||||
|
||||
// Iterate Peer List for Matching Target
|
||||
SceNetAdhocMatchingMemberInternal * peer = context->peerlist;
|
||||
for (; peer != NULL; peer = peer->next)
|
||||
|
|
Loading…
Add table
Reference in a new issue