mirror of
https://github.com/kanjitalk755/macemu.git
synced 2024-11-23 04:33:24 +00:00
fix poll() emulation
This commit is contained in:
parent
1b53603138
commit
77446db25d
@ -574,7 +574,7 @@ static inline int poll_fd(int fd)
|
||||
fd_set rfds;
|
||||
FD_ZERO(&rfds);
|
||||
FD_SET(fd, &rfds);
|
||||
return select(1, &rfds, NULL, NULL, NULL);
|
||||
return select(fd + 1, &rfds, NULL, NULL, NULL);
|
||||
#endif
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user