2
0
mirror of https://github.com/ValveSoftware/Proton synced 2025-09-01 07:05:24 +00:00

lsteamclient: Wrap SteamAPIWarningMessageHook_t callback.

CW-Bug-Id: #20813
This commit is contained in:
Paul Gofman
2022-06-14 17:54:51 -05:00
committed by Arkadiusz Hiler
parent 242d655a0f
commit bcd3d5218f
26 changed files with 64 additions and 1 deletions

View File

@@ -122,6 +122,7 @@ uint32 cppISteamClient_SteamClient011_GetIPCCallCount(void *linux_side)
void cppISteamClient_SteamClient011_SetWarningMessageHook(void *linux_side, SteamAPIWarningMessageHook_t pFunction)
{
pFunction = (SteamAPIWarningMessageHook_t)manual_convert_SteamAPIWarningMessageHook_t((void*)pFunction);
((ISteamClient*)linux_side)->SetWarningMessageHook((SteamAPIWarningMessageHook_t)pFunction);
}