always enable QoS

This commit is contained in:
Nikhil Narayana 2021-11-30 17:37:52 -08:00
commit f52c49f55f

View file

@ -651,8 +651,6 @@ void SlippiNetplayClient::ThreadFunc()
}
}
#else
if (SConfig::GetInstance().bQoSEnabled)
{
for (int i = 0; i < m_server.size(); i++)
{
#ifdef __linux__
@ -667,7 +665,6 @@ void SlippiNetplayClient::ThreadFunc()
qos_success =
setsockopt(m_server[i]->host->socket, IPPROTO_IP, IP_TOS, &tos_val, sizeof(tos_val)) == 0;
}
}
#endif
while (m_do_loop.IsSet())