Attempt to prevent Share Violation errors
This commit is contained in:
parent
0fb6a72ffd
commit
d2514874de
|
@ -260,6 +260,8 @@ XBSYSAPI EXPORTNUM(66) xboxkrnl::NTSTATUS NTAPI xboxkrnl::IoCreateFile
|
|||
NativeObjectAttributes nativeObjectAttributes;
|
||||
|
||||
NTSTATUS ret = CxbxObjectAttributesToNT(ObjectAttributes, /*OUT*/nativeObjectAttributes, "IoCreateFile");
|
||||
// Force ShareAccess to all
|
||||
ShareAccess = FILE_SHARE_READ | FILE_SHARE_WRITE | FILE_SHARE_DELETE;
|
||||
|
||||
if (!FAILED(ret))
|
||||
// redirect to NtCreateFile
|
||||
|
|
Loading…
Reference in New Issue