Minor fixes to Symbolic Link emulation
This commit is contained in:
parent
71a059104b
commit
de0c650d8d
|
@ -297,7 +297,10 @@ NTSTATUS EmuNtSymbolicLinkObject::Init(std::string aSymbolicLinkName, std::strin
|
|||
|
||||
void EmuNtSymbolicLinkObject::Free()
|
||||
{
|
||||
return;
|
||||
if (DriveLetter >= 'A' && DriveLetter <= 'Z') {
|
||||
NtSymbolicLinkObjects[DriveLetter - 'A'] = NULL;
|
||||
NtDll::NtClose(RootDirectoryHandle);
|
||||
}
|
||||
}
|
||||
|
||||
bool CxbxMountUtilityDrive(bool formatClean)
|
||||
|
|
|
@ -202,7 +202,7 @@ class EmuNtObject
|
|||
|
||||
private:
|
||||
// Reference count
|
||||
ULONG RefCount;
|
||||
LONG RefCount;
|
||||
};
|
||||
|
||||
// ******************************************************************
|
||||
|
|
Loading…
Reference in New Issue