From ded094a3408debddb0870d6961d188c0edb94fa2 Mon Sep 17 00:00:00 2001 From: Morph <39850852+Morph1984@users.noreply.github.com> Date: Sun, 31 Jan 2021 02:53:39 -0500 Subject: [PATCH] bsd: Fix EventFd stub --- src/core/hle/service/sockets/bsd.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/core/hle/service/sockets/bsd.cpp b/src/core/hle/service/sockets/bsd.cpp index 9a5b329750..0b306b87a2 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(); + const u64 initval = rp.Pop(); + const u32 flags = rp.Pop(); - LOG_DEBUG(Service, "called. fd={}", fd); + LOG_WARNING(Service, "(STUBBED) called. initval={}, flags={}", initval, flags); BuildErrnoResponse(ctx, Errno::SUCCESS); }