AMMediaboard: Make timeout 0ms in NetDIMMAccept to improve performance.

This commit is contained in:
Jordan Woyak committed 2026-02-15 20:14:15 -06:00
1 parent 4c61b9e009
commit 6a53c8f512
1 file changed
+2 -1
+2 -1
View File
@@ -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);