mirror of
https://github.com/ValveSoftware/Proton.git
synced 2025-01-26 13:38:15 +03:00
lsteamclient: Convert path given to ISteamInput::SetInputActionManifestFilePath
CW-Bug-Id: #19517
This commit is contained in:
parent
da911c3bf9
commit
4b9b102b31
@ -558,7 +558,17 @@ path_conversions = [
|
||||
"w2l_arrays": [False],
|
||||
"w2l_urls": [False],
|
||||
"return_is_size": False
|
||||
}
|
||||
},
|
||||
{
|
||||
"parent_name": "SetInputActionManifestFilePath",
|
||||
"l2w_names": [],
|
||||
"l2w_lens": [],
|
||||
"l2w_urls": [],
|
||||
"w2l_names": ["pchInputActionManifestAbsolutePath"],
|
||||
"w2l_arrays": [False],
|
||||
"w2l_urls": [False],
|
||||
"return_is_size": False
|
||||
},
|
||||
]
|
||||
|
||||
def strip_const(typename):
|
||||
|
@ -39,8 +39,10 @@ bool __thiscall winISteamInput_SteamInput005_Shutdown(winISteamInput_SteamInput0
|
||||
DEFINE_THISCALL_WRAPPER(winISteamInput_SteamInput005_SetInputActionManifestFilePath, 8)
|
||||
bool __thiscall winISteamInput_SteamInput005_SetInputActionManifestFilePath(winISteamInput_SteamInput005 *_this, const char * pchInputActionManifestAbsolutePath)
|
||||
{
|
||||
char lin_pchInputActionManifestAbsolutePath[PATH_MAX];
|
||||
steamclient_dos_path_to_unix_path(pchInputActionManifestAbsolutePath, lin_pchInputActionManifestAbsolutePath, 0);
|
||||
TRACE("%p\n", _this);
|
||||
return cppISteamInput_SteamInput005_SetInputActionManifestFilePath(_this->linux_side, pchInputActionManifestAbsolutePath);
|
||||
return cppISteamInput_SteamInput005_SetInputActionManifestFilePath(_this->linux_side, pchInputActionManifestAbsolutePath ? lin_pchInputActionManifestAbsolutePath : NULL);
|
||||
}
|
||||
|
||||
DEFINE_THISCALL_WRAPPER(winISteamInput_SteamInput005_RunFrame, 8)
|
||||
|
Loading…
x
Reference in New Issue
Block a user