mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-04-06 23:15:18 +00:00
sys_net: Use IDM, initialize networking on startup
This commit is contained in:
parent
31ec26a7a1
commit
2e5d20c315
2 changed files with 106 additions and 71 deletions
|
|
@ -254,9 +254,14 @@ Rpcs3App::Rpcs3App()
|
|||
#ifdef _WIN32
|
||||
timeBeginPeriod(1);
|
||||
|
||||
WSADATA wsaData;
|
||||
WORD wVersionRequested = MAKEWORD(2, 2);
|
||||
WSAStartup(wVersionRequested, &wsaData);
|
||||
|
||||
std::atexit([]
|
||||
{
|
||||
timeEndPeriod(1);
|
||||
WSACleanup();
|
||||
});
|
||||
#endif
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue