mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-07-22 10:04:39 +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,
|
||||
"nfds = {}, readfds = {:#x}, writefds = {:#x}, exceptfds = {:#x}, timeout "
|
||||
"= {:#x}",
|
||||
nfds, reinterpret_cast<u64>(readfds), reinterpret_cast<u64>(writefds),
|
||||
reinterpret_cast<u64>(exceptfds), reinterpret_cast<u64>(timeout));
|
||||
nfds, fmt::ptr(readfds), fmt::ptr(writefds), fmt::ptr(exceptfds), fmt::ptr(timeout));
|
||||
|
||||
fd_set read_host, write_host, except_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;
|
||||
|
||||
for (int fd = 0; fd < nfds; ++fd) {
|
||||
|
Loading…
Reference in New Issue
Block a user