citra-emu
/
citra-canary
Archived
1
0
Fork 0

Merge pull request #4112 from namkazt/soc_fcntl

fix soc service - Fcntl failed on validate header
This commit is contained in:
Weiyi Wang 2018-08-21 07:29:43 -04:00 committed by GitHub
commit 47025552c7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -393,6 +393,7 @@ void SOC_U::Fcntl(Kernel::HLERequestContext& ctx) {
u32 socket_handle = rp.Pop<u32>();
u32 ctr_cmd = 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)
SCOPE_EXIT({