mirror of
https://github.com/ValveSoftware/Proton
synced 2025-08-31 06:35:23 +00:00
lsteamclient: Move unix to dos path conversions to the unix side.
CW-Bug-Id: #22729
This commit is contained in:
@@ -88,6 +88,7 @@ NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetQueryUGCAdditionalPreview( v
|
||||
struct ISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetQueryUGCAdditionalPreview_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetQueryUGCAdditionalPreview_params *)args;
|
||||
struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION007 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION007 *)params->linux_side;
|
||||
params->_ret = iface->GetQueryUGCAdditionalPreview( params->handle, params->index, params->previewIndex, params->pchURLOrVideoID, params->cchURLSize, params->pbIsImage );
|
||||
steamclient_unix_path_to_dos_path( params->_ret, params->pchURLOrVideoID, params->pchURLOrVideoID, params->cchURLSize, 1 );
|
||||
return 0;
|
||||
}
|
||||
|
||||
@@ -436,6 +437,7 @@ NTSTATUS ISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetItemInstallInfo( void *args
|
||||
struct ISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetItemInstallInfo_params *params = (struct ISteamUGC_STEAMUGC_INTERFACE_VERSION007_GetItemInstallInfo_params *)args;
|
||||
struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION007 *iface = (struct u_ISteamUGC_STEAMUGC_INTERFACE_VERSION007 *)params->linux_side;
|
||||
params->_ret = iface->GetItemInstallInfo( params->nPublishedFileID, params->punSizeOnDisk, params->pchFolder, params->cchFolderSize, params->punTimeStamp );
|
||||
steamclient_unix_path_to_dos_path( params->_ret, params->pchFolder, params->pchFolder, params->cchFolderSize, 0 );
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user