diff --git a/src/core/kernel/exports/EmuKrnlNt.cpp b/src/core/kernel/exports/EmuKrnlNt.cpp index 84b796bfe..9a04a8995 100644 --- a/src/core/kernel/exports/EmuKrnlNt.cpp +++ b/src/core/kernel/exports/EmuKrnlNt.cpp @@ -702,9 +702,10 @@ XBSYSAPI EXPORTNUM(197) xbox::ntstatus_xt NTAPI xbox::NtDuplicateObject } else { - // TODO : What arguments should we use? + // On the xbox, the duplicated handle always has the same access rigths of the source handle const ACCESS_MASK DesiredAccess = 0; const ULONG Attributes = 0; + Options |= (DUPLICATE_SAME_ATTRIBUTES | DUPLICATE_SAME_ACCESS); // redirect to Win2k/XP ret = NtDll::NtDuplicateObject(