mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-09-04 19:55:27 +02:00
Merge pull request #13378 from ANR2ME/adhocmatching_fix
AdhocMatching P2P Mode Fix - Bleach Heat the Soul 7
This commit is contained in:
@@ -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