mirror of
https://github.com/libretro/RetroArch
synced 2025-02-07 03:40:24 +00:00
(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),
|
snprintf(szDestinationDrive, sizeof(szDestinationDrive),
|
||||||
"\\??\\%s", szDrive);
|
"\\??\\%s", szDrive);
|
||||||
RtlInitAnsiString(&DeviceName, szDevice);
|
RtlInitAnsiString(&DeviceName, szDevice);
|
||||||
RtlInitAnsiString(&LinkName, (CHAR)szDestinationDrive);
|
RtlInitAnsiString(&LinkName, (PCHAR)szDestinationDrive);
|
||||||
ObDeleteSymbolicLink(&LinkName);
|
ObDeleteSymbolicLink(&LinkName);
|
||||||
return (HRESULT)ObCreateSymbolicLink(&LinkName, &DeviceName);
|
return (HRESULT)ObCreateSymbolicLink(&LinkName, &DeviceName);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user