Slight wii improvements
This commit is contained in:
@@ -43,9 +43,9 @@ void networkWiiRequestConnection(
|
||||
NETWORK.platform.onFailed = onFailed;
|
||||
NETWORK.platform.onConnectedUser = user;
|
||||
|
||||
memoryZero(NETWORK.platform.ip, NETWORK_WII_IP_MAX);
|
||||
memoryZero(NETWORK.platform.netmask, NETWORK_WII_IP_MAX);
|
||||
memoryZero(NETWORK.platform.gateway, NETWORK_WII_IP_MAX);
|
||||
memoryZero(NETWORK.platform.ip, sizeof(NETWORK.platform.ip));
|
||||
memoryZero(NETWORK.platform.netmask, sizeof(NETWORK.platform.netmask));
|
||||
memoryZero(NETWORK.platform.gateway, sizeof(NETWORK.platform.gateway));
|
||||
|
||||
// Negotiate DHCP using the Wi-Fi settings saved in Wii System Menu.
|
||||
// This call blocks until the interface is configured or times out.
|
||||
|
||||
@@ -13,9 +13,9 @@
|
||||
#define NETWORK_WII_IP_MAX 16
|
||||
|
||||
typedef struct {
|
||||
char ip[NETWORK_WII_IP_MAX];
|
||||
char netmask[NETWORK_WII_IP_MAX];
|
||||
char gateway[NETWORK_WII_IP_MAX];
|
||||
char_t ip[NETWORK_WII_IP_MAX];
|
||||
char_t netmask[NETWORK_WII_IP_MAX];
|
||||
char_t gateway[NETWORK_WII_IP_MAX];
|
||||
|
||||
void *onConnectedUser;
|
||||
void (*onConnected)(void *user);
|
||||
|
||||
Reference in New Issue
Block a user