SceNetAdhocctlParams: Swap order of BSSID and Nickname

Prompted by #46, I have taken the time looking at `pspnet_adhocctl.prx`
in older firmware versions via Ghidra (thanks @sajattack) and some
early Adhoc-capable titles like Ridge Racer and Hot Shot's Golf, I
have concluded that the order of elements in the `SceNetAdhocctlParams`
struct to have always been `nickname`, followed by `bssid`. Not changed
in any later firmware revision. This commit resolves this discrepancy.
This commit is contained in:
Steam Deck User
2023-04-17 18:46:21 -04:00
parent 5f2af5d358
commit 5660b2b35a

View File

@@ -74,10 +74,10 @@ struct SceNetAdhocctlParams
int channel;
/** Name of the connection */
char name[8];
/** The BSSID */
unsigned char bssid[6];
/** Nickname */
char nickname[128];
/** The BSSID */
unsigned char bssid[6];
};
/**