mirror of
https://github.com/Oibaf66/frodo-wii.git
synced 2024-11-25 21:14:22 +01:00
Add printout of network bw, reduce size to 1024
This commit is contained in:
parent
ba7ee22494
commit
92c007817d
@ -1196,6 +1196,8 @@ network_connection_error_t Network::WaitForBandWidthReply()
|
||||
if (this->target_kbps < 80000)
|
||||
this->target_kbps = 80000;
|
||||
|
||||
printf("%d bytes in %d ms. Setting cap at %d\n", sz, ms_diff, this->target_kbps);
|
||||
|
||||
return OK;
|
||||
}
|
||||
|
||||
@ -1266,7 +1268,7 @@ network_connection_error_t Network::ConnectFSM()
|
||||
case CONN_BANDWIDTH_PING:
|
||||
TheC64->TheDisplay->display_status_string((char*)"TESTING BANDWIDTH", 1);
|
||||
this->ResetNetworkUpdate();
|
||||
this->SendPingAck(this->is_master, BANDWIDTH_PING, 2048);
|
||||
this->SendPingAck(this->is_master, BANDWIDTH_PING, 1024);
|
||||
this->SendUpdate();
|
||||
this->bandwidth_ping_ms = SDL_GetTicks();
|
||||
this->ResetNetworkUpdate();
|
||||
|
Loading…
Reference in New Issue
Block a user