mirror of
https://git.suyu.dev/suyu/Yucom.git
synced 2025-12-24 08:14:34 +01:00
lsteamclient: Move dos to unix path conversion to the unix side.
CW-Bug-Id: #22729
This commit is contained in:
parent
fd5711e93b
commit
049342a555
58 changed files with 575 additions and 567 deletions
|
|
@ -5,7 +5,9 @@ NTSTATUS ISteamController_STEAMCONTROLLER_INTERFACE_VERSION_Init( void *args )
|
|||
{
|
||||
struct ISteamController_STEAMCONTROLLER_INTERFACE_VERSION_Init_params *params = (struct ISteamController_STEAMCONTROLLER_INTERFACE_VERSION_Init_params *)args;
|
||||
struct u_ISteamController_STEAMCONTROLLER_INTERFACE_VERSION *iface = (struct u_ISteamController_STEAMCONTROLLER_INTERFACE_VERSION *)params->linux_side;
|
||||
params->_ret = iface->Init( params->pchAbsolutePathToControllerConfigVDF );
|
||||
char *u_pchAbsolutePathToControllerConfigVDF = steamclient_dos_to_unix_path( params->pchAbsolutePathToControllerConfigVDF, 0 );
|
||||
params->_ret = iface->Init( u_pchAbsolutePathToControllerConfigVDF );
|
||||
steamclient_free_path( u_pchAbsolutePathToControllerConfigVDF );
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue