mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-01 14:58:14 +00:00
Merge pull request #13378 from ANR2ME/adhocmatching_fix
AdhocMatching P2P Mode Fix - Bleach Heat the Soul 7
This commit is contained in:
1 file changed
+2
-2
@@ -5437,9 +5437,9 @@ void actOnHelloPacket(SceNetAdhocMatchingContext * context, SceNetEtherAddr * se
|
||||
}
|
||||
|
||||
// Peer available now
|
||||
if (peer != NULL)
|
||||
if (peer != NULL && peer->state != PSP_ADHOC_MATCHING_PEER_OUTGOING_REQUEST && peer->state != PSP_ADHOC_MATCHING_PEER_INCOMING_REQUEST)
|
||||
{
|
||||
// Spawn Hello Event
|
||||
// Spawn Hello Event. FIXME: HELLO event should not be triggered in the middle of joining? This will cause Bleach 7 to Cancel the join request
|
||||
spawnLocalEvent(context, PSP_ADHOC_MATCHING_EVENT_HELLO, sendermac, optlen, opt);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user