Line 2:
Line 2:
NCD is the Network Configuration Device. It handles stuff like reading the network configuration stored in /shared2/sys/net/02/config.dat or getting the Wii's MAC address.
NCD is the Network Configuration Device. It handles stuff like reading the network configuration stored in /shared2/sys/net/02/config.dat or getting the Wii's MAC address.
−
ios_ioctlv( fd, 1, 0, 1, vec); // NCDLockWirelessDriver out min 8
+
ios_ioctlv( fd, 1, 0, 1, vec); // NCDLockWirelessDriver out 32
ios_ioctlv( fd, 2, 1, 1, vec); // NCDUnlockWirelessDriver in min 4 out min 4
ios_ioctlv( fd, 2, 1, 1, vec); // NCDUnlockWirelessDriver in min 4 out min 4
ios_ioctlv( fd, 3, 0, 2, vec); // NCDReadConfig?, 7004 out, 32 out
ios_ioctlv( fd, 3, 0, 2, vec); // NCDReadConfig?, 7004 out, 32 out