mirror of
https://github.com/Oibaf66/frodo-wii.git
synced 2024-11-14 15:45:15 +01:00
Temporarily new network port
This commit is contained in:
parent
332264abcb
commit
c1a7977ba3
@ -95,7 +95,7 @@ Prefs::Prefs()
|
|||||||
this->NetworkAvatar = 0;
|
this->NetworkAvatar = 0;
|
||||||
snprintf(this->NetworkName, 32, "Unset name");
|
snprintf(this->NetworkName, 32, "Unset name");
|
||||||
snprintf(this->NetworkServer, 64, "play.c64-network.org");
|
snprintf(this->NetworkServer, 64, "play.c64-network.org");
|
||||||
this->NetworkPort = 46214;
|
this->NetworkPort = 46215; // FIXME! Set back to 46214 when ready
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@ -384,8 +384,9 @@ void Prefs::Load(char *filename)
|
|||||||
strcpy(NetworkName, value);
|
strcpy(NetworkName, value);
|
||||||
else if (!strcmp(keyword, "NetworkServer"))
|
else if (!strcmp(keyword, "NetworkServer"))
|
||||||
strcpy(NetworkServer, value);
|
strcpy(NetworkServer, value);
|
||||||
else if (!strcmp(keyword, "NetworkPort"))
|
#warning take back in real release
|
||||||
NetworkPort = atoi(value);
|
// else if (!strcmp(keyword, "NetworkPort"))
|
||||||
|
// NetworkPort = atoi(value);
|
||||||
else if (!strcmp(keyword, "NetworkName"))
|
else if (!strcmp(keyword, "NetworkName"))
|
||||||
strcpy(NetworkName, value);
|
strcpy(NetworkName, value);
|
||||||
else if (!strcmp(keyword, "NetworkAvatar"))
|
else if (!strcmp(keyword, "NetworkAvatar"))
|
||||||
|
Loading…
Reference in New Issue
Block a user