From 7d8569d79958fa43514c91712f4ee551ec983e7a Mon Sep 17 00:00:00 2001 From: Nguyen Dac Nam Date: Tue, 21 Aug 2018 12:14:18 +0700 Subject: [PATCH] fix soc service - Fcntl failed on validate header --- src/core/hle/service/soc_u.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/core/hle/service/soc_u.cpp b/src/core/hle/service/soc_u.cpp index cfb1af1100..2564668b38 100644 --- a/src/core/hle/service/soc_u.cpp +++ b/src/core/hle/service/soc_u.cpp @@ -393,6 +393,7 @@ void SOC_U::Fcntl(Kernel::HLERequestContext& ctx) { u32 socket_handle = rp.Pop(); u32 ctr_cmd = rp.Pop(); u32 ctr_arg = rp.Pop(); + rp.PopPID(); u32 posix_ret = 0; // TODO: Check what hardware returns for F_SETFL (unspecified by POSIX) SCOPE_EXIT({