Adhoc matching, new constants

Discuss the development of new homebrew software, tools and libraries.

Moderators: cheriff, TyRaNiD

Post Reply
User avatar
uberjack
Posts: 34
Joined: Tue Jul 17, 2007 9:09 am
Location: California, USA
Contact:

Adhoc matching, new constants

Post by uberjack »

Hello,

I'm trying to establish the relationship between the older adhoc matching constants and the newer ones (my old code will no longer compile). Can anyone please confirm if my guesses are correct?

#define MATCHING_JOINED PSP_ADHOC_MATCHING_EVENT_JOIN
#define MATCHING_DISCONNECT PSP_ADHOC_MATCHING_EVENT_LEFT
#define MATCHING_CANCELED PSP_ADHOC_MATCHING_EVENT_CANCEL
#define MATCHING_SELECTED PSP_ADHOC_MATCHING_EVENT_ACCEPT
#define MATCHING_ESTABLISHED PSP_ADHOC_MATCHING_EVENT_COMPLETE
#define MATCHING_REJECTED PSP_ADHOC_MATCHING_EVENT_REJECT

Thanks
Pirata Nervo
Posts: 409
Joined: Tue Oct 09, 2007 4:22 am

Post by Pirata Nervo »

this is what I have
#define MATCHING_JOINED 0x1 // Another PSP has joined
#define MATCHING_SELECTED 0x2 // Another PSP selected to match
#define MATCHING_REJECTED 0x4 // The request has been rejected
#define MATCHING_CANCELED 0x5 // The request has been cancelled
#define MATCHING_ESTABLISHED 0x7 // Both PSP's have agreed to connect, at this point Lumines
// closes the connection and creates a new one with just the
// two PSP's in it.
#define MATCHING_DISCONNECT 0xa // A PSP has quit, this does not include when the PSP crashes

works perfectly here
Image
Upgrade your PSP
User avatar
uberjack
Posts: 34
Joined: Tue Jul 17, 2007 9:09 am
Location: California, USA
Contact:

Post by uberjack »

That's exactly what I needed, thank you
Post Reply