2
0
mirror of https://github.com/ValveSoftware/Proton synced 2025-08-31 06:35:23 +00:00

lsteamclient: Call struct converters

This commit is contained in:
Andrew Eikum
2018-10-29 11:21:49 -05:00
parent ab30d847d9
commit c7d6c1f18b
50 changed files with 630 additions and 105 deletions

View File

@@ -32,7 +32,10 @@ void cppISteamUser_SteamUser019_TerminateGameConnection(void *linux_side, uint32
void cppISteamUser_SteamUser019_TrackAppUsageEvent(void *linux_side, CGameID gameID, int eAppUsageEvent, const char * pchExtraInfo)
{
((ISteamUser*)linux_side)->TrackAppUsageEvent((CGameID)gameID, (int)eAppUsageEvent, (const char *)pchExtraInfo);
CGameID lin_gameID;
win_to_lin_struct_CGameID_142(&gameID, &lin_gameID);
((ISteamUser*)linux_side)->TrackAppUsageEvent(lin_gameID, (int)eAppUsageEvent, (const char *)pchExtraInfo);
lin_to_win_struct_CGameID_142(&lin_gameID, &gameID);
}
bool cppISteamUser_SteamUser019_GetUserDataFolder(void *linux_side, char * pchBuffer, int cubBuffer)