lsteamclient: Move dos to unix path conversion to the unix side.

CW-Bug-Id: #22729
This commit is contained in:
Rémi Bernon 2023-10-02 23:20:43 +02:00 committed by Arkadiusz Hiler
parent fd5711e93b
commit 049342a555
58 changed files with 575 additions and 567 deletions

View file

@ -21,7 +21,9 @@ NTSTATUS ISteamInput_SteamInput006_SetInputActionManifestFilePath( void *args )
{
struct ISteamInput_SteamInput006_SetInputActionManifestFilePath_params *params = (struct ISteamInput_SteamInput006_SetInputActionManifestFilePath_params *)args;
struct u_ISteamInput_SteamInput006 *iface = (struct u_ISteamInput_SteamInput006 *)params->linux_side;
params->_ret = iface->SetInputActionManifestFilePath( params->pchInputActionManifestAbsolutePath );
char *u_pchInputActionManifestAbsolutePath = steamclient_dos_to_unix_path( params->pchInputActionManifestAbsolutePath, 0 );
params->_ret = iface->SetInputActionManifestFilePath( u_pchInputActionManifestAbsolutePath );
steamclient_free_path( u_pchInputActionManifestAbsolutePath );
return 0;
}