(XDK360) Fix
This commit is contained in:
parent
861ad8b3ab
commit
9e063318da
|
@ -1031,7 +1031,7 @@ static HRESULT xbox_io_mount(const char* szDrive, char* szDevice)
|
|||
snprintf(szDestinationDrive, sizeof(szDestinationDrive),
|
||||
"\\??\\%s", szDrive);
|
||||
RtlInitAnsiString(&DeviceName, szDevice);
|
||||
RtlInitAnsiString(&LinkName, (CHAR)szDestinationDrive);
|
||||
RtlInitAnsiString(&LinkName, (PCHAR)szDestinationDrive);
|
||||
ObDeleteSymbolicLink(&LinkName);
|
||||
return (HRESULT)ObCreateSymbolicLink(&LinkName, &DeviceName);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue