mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-29 17:19:44 -06:00
Eliminate some trampoline functions.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7015 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
@ -40,14 +40,14 @@ NetPlayServer::NetPlayServer(const u16 port, const std::string& name, NetPlayDia
|
||||
is_connected = true;
|
||||
|
||||
m_selector.Add(m_socket);
|
||||
m_thread = std::thread(NetPlayThreadFunc, this);
|
||||
m_thread = std::thread(std::mem_fun(&NetPlayServer::ThreadFunc), this);
|
||||
}
|
||||
else
|
||||
is_connected = false;
|
||||
}
|
||||
|
||||
// called from ---NETPLAY--- thread
|
||||
void NetPlayServer::Entry()
|
||||
void NetPlayServer::ThreadFunc()
|
||||
{
|
||||
while (m_do_loop)
|
||||
{
|
||||
|
Reference in New Issue
Block a user