summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2021-01-31 10:41:06 +0100
committerGitHub <noreply@github.com>2021-01-31 10:41:06 +0100
commitec51f8de82946eff6ced0496420dc81bcfbc11a5 (patch)
treef46bd28de53d1297e4722e8be77bf1216739cddf
parentMerge pull request #5855 from Morph1984/bsd-fix-getsockopt-stub (diff)
parentbsd: Fix EventFd stub (diff)
downloadyuzu-ec51f8de82946eff6ced0496420dc81bcfbc11a5.tar
yuzu-ec51f8de82946eff6ced0496420dc81bcfbc11a5.tar.gz
yuzu-ec51f8de82946eff6ced0496420dc81bcfbc11a5.tar.bz2
yuzu-ec51f8de82946eff6ced0496420dc81bcfbc11a5.tar.lz
yuzu-ec51f8de82946eff6ced0496420dc81bcfbc11a5.tar.xz
yuzu-ec51f8de82946eff6ced0496420dc81bcfbc11a5.tar.zst
yuzu-ec51f8de82946eff6ced0496420dc81bcfbc11a5.zip
-rw-r--r--src/core/hle/service/sockets/bsd.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/core/hle/service/sockets/bsd.cpp b/src/core/hle/service/sockets/bsd.cpp
index 9a5b32975..0b306b87a 100644
--- a/src/core/hle/service/sockets/bsd.cpp
+++ b/src/core/hle/service/sockets/bsd.cpp
@@ -421,11 +421,11 @@ void BSD::Close(Kernel::HLERequestContext& ctx) {
}
void BSD::EventFd(Kernel::HLERequestContext& ctx) {
- LOG_WARNING(Service, "(STUBBED) called");
IPC::RequestParser rp{ctx};
- const s32 fd = rp.Pop<s32>();
+ const u64 initval = rp.Pop<u64>();
+ const u32 flags = rp.Pop<u32>();
- LOG_DEBUG(Service, "called. fd={}", fd);
+ LOG_WARNING(Service, "(STUBBED) called. initval={}, flags={}", initval, flags);
BuildErrnoResponse(ctx, Errno::SUCCESS);
}