mirror of
https://github.com/libretro/RetroArch
synced 2025-03-29 22:20:21 +00:00
(360) Another buildfix
This commit is contained in:
parent
98f0422b20
commit
057af3c310
@ -1028,7 +1028,8 @@ static HRESULT xbox_io_mount(const char* szDrive, char* szDevice)
|
||||
STRING DeviceName, LinkName;
|
||||
char szDestinationDrive[PATH_MAX_LENGTH];
|
||||
|
||||
snprintf(szDestinationDrive, sizeof(szDestinationDrive), PATH_MAX_LENGTH, "\\??\\%s", szDrive);
|
||||
snprintf(szDestinationDrive, sizeof(szDestinationDrive),
|
||||
"\\??\\%s", szDrive);
|
||||
RtlInitAnsiString(&DeviceName, szDevice);
|
||||
RtlInitAnsiString(&LinkName, (CHAR)szDestinationDrive);
|
||||
ObDeleteSymbolicLink(&LinkName);
|
||||
|
Loading…
x
Reference in New Issue
Block a user