fix soc service - Fcntl failed on validate header

This commit is contained in:
Nguyen Dac Nam 2018-08-21 12:14:18 +07:00 committed by GitHub
parent 7279335fc0
commit 7d8569d799
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -393,6 +393,7 @@ void SOC_U::Fcntl(Kernel::HLERequestContext& ctx) {
u32 socket_handle = rp.Pop<u32>(); u32 socket_handle = rp.Pop<u32>();
u32 ctr_cmd = rp.Pop<u32>(); u32 ctr_cmd = rp.Pop<u32>();
u32 ctr_arg = rp.Pop<u32>(); u32 ctr_arg = rp.Pop<u32>();
rp.PopPID();
u32 posix_ret = 0; // TODO: Check what hardware returns for F_SETFL (unspecified by POSIX) u32 posix_ret = 0; // TODO: Check what hardware returns for F_SETFL (unspecified by POSIX)
SCOPE_EXIT({ SCOPE_EXIT({