vrclient: 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:13:55 +02:00 committed by Arkadiusz Hiler
parent 049342a555
commit 43481a24ff
53 changed files with 240 additions and 243 deletions

View file

@ -5,7 +5,9 @@ NTSTATUS IVRInput_IVRInput_010_SetActionManifestPath( void *args )
{
struct IVRInput_IVRInput_010_SetActionManifestPath_params *params = (struct IVRInput_IVRInput_010_SetActionManifestPath_params *)args;
struct u_IVRInput_IVRInput_010 *iface = (struct u_IVRInput_IVRInput_010 *)params->linux_side;
params->_ret = (uint32_t)iface->SetActionManifestPath( params->pchActionManifestPath );
char *u_pchActionManifestPath = vrclient_dos_to_unix_path( params->pchActionManifestPath );
params->_ret = (uint32_t)iface->SetActionManifestPath( u_pchActionManifestPath );
vrclient_free_path( u_pchActionManifestPath );
return 0;
}