mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-07-22 18:15:14 +00:00
clang-format
This commit is contained in:
parent
36c0267e14
commit
9a787dbd34
@ -1091,8 +1091,7 @@ s32 PS4_SYSV_ABI posix_select(int nfds, fd_set* readfds, fd_set* writefds, fd_se
|
|||||||
LOG_INFO(Kernel_Fs,
|
LOG_INFO(Kernel_Fs,
|
||||||
"nfds = {}, readfds = {:#x}, writefds = {:#x}, exceptfds = {:#x}, timeout "
|
"nfds = {}, readfds = {:#x}, writefds = {:#x}, exceptfds = {:#x}, timeout "
|
||||||
"= {:#x}",
|
"= {:#x}",
|
||||||
nfds, reinterpret_cast<u64>(readfds), reinterpret_cast<u64>(writefds),
|
nfds, fmt::ptr(readfds), fmt::ptr(writefds), fmt::ptr(exceptfds), fmt::ptr(timeout));
|
||||||
reinterpret_cast<u64>(exceptfds), reinterpret_cast<u64>(timeout));
|
|
||||||
|
|
||||||
fd_set read_host, write_host, except_host;
|
fd_set read_host, write_host, except_host;
|
||||||
FD_ZERO(&read_host);
|
FD_ZERO(&read_host);
|
||||||
@ -1148,7 +1147,8 @@ s32 PS4_SYSV_ABI posix_select(int nfds, fd_set* readfds, fd_set* writefds, fd_se
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
int result = select(0, &read_host, &write_host, &except_host, reinterpret_cast<timeval*>(timeout));
|
int result =
|
||||||
|
select(0, &read_host, &write_host, &except_host, reinterpret_cast<timeval*>(timeout));
|
||||||
int total_ready = result;
|
int total_ready = result;
|
||||||
|
|
||||||
for (int fd = 0; fd < nfds; ++fd) {
|
for (int fd = 0; fd < nfds; ++fd) {
|
||||||
|
Loading…
Reference in New Issue
Block a user