Temporarily disable NtClose for EmuHandle instances.
It was causing symbolic link entries to corrupt, there are issues with EmuFile, EmuNtOpenSymbolicLinkObject and other related areas that need to be addressed before this can be re-enabled
This commit is contained in:
parent
5f3a8c4c44
commit
f2c20e6e07
|
@ -2977,7 +2977,11 @@ XBSYSAPI EXPORTNUM(187) xboxkrnl::NTSTATUS NTAPI xboxkrnl::NtClose
|
|||
{
|
||||
EmuHandle *iEmuHandle = EmuHandleToPtr(Handle);
|
||||
|
||||
delete iEmuHandle;
|
||||
// HACK: Do not delete emuhandle
|
||||
// There is an issue with EmuHandle/EmuNtObject causing referencing counting to not function
|
||||
// Consider translating the entirity of EmuFile & EmuKrnl from Dxbx
|
||||
//delete iEmuHandle;
|
||||
EmuWarning("EmuKrnl::NtClose : EmuHandle not deleted");
|
||||
|
||||
ret = STATUS_SUCCESS;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue