mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2026-03-21 17:49:58 -05:00
AMMediaboard: Make timeout 0ms in NetDIMMAccept to improve performance.
This commit is contained in:
parent
4c61b9e009
commit
6a53c8f512
|
|
@ -488,7 +488,8 @@ static GuestSocket NetDIMMAccept(GuestSocket guest_socket, sockaddr* addr, sockl
|
|||
const auto host_socket = GetHostSocket(guest_socket);
|
||||
WSAPOLLFD pfds[1]{{.fd = host_socket, .events = POLLIN}};
|
||||
|
||||
constexpr auto timeout = std::chrono::milliseconds{10};
|
||||
// FYI: Currently using a 0ms timeout to make accept calls always non-blocking.
|
||||
constexpr auto timeout = std::chrono::milliseconds{0};
|
||||
|
||||
const int result = PlatformPoll(pfds, timeout);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user