mirror of
https://github.com/pspdev/pspsdk.git
synced 2025-12-25 13:04:59 +00:00
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:
@@ -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];
|
||||
};
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user