lsteamclient: Fix SteamAPI_CheckCallbackRegistered_t calling convention

This commit is contained in:
Andrew Eikum
2019-08-23 09:57:46 -05:00
parent abfb04f8cc
commit 80465e2a7d
7 changed files with 25 additions and 7 deletions
+15
View File
@@ -295,3 +295,18 @@ void *manual_convert_FSteamNetworkingSocketsDebugOutput(void *win_func)
stored_FSteamNetworkingSocketsDebugOutput = (void*)win_func;
return &lin_FSteamNetworkingSocketsDebugOutput;
}
/***** SteamAPI_CheckCallbackRegistered_t *****/
static uint32 (__attribute__((ms_abi)) *stored_SteamAPI_CheckCallbackRegistered_t)(int cb);
static uint32 lin_SteamAPI_CheckCallbackRegistered_t(int cb)
{
return stored_SteamAPI_CheckCallbackRegistered_t(cb);
}
void *manual_convert_SteamAPI_CheckCallbackRegistered_t(void *win_func)
{
stored_SteamAPI_CheckCallbackRegistered_t = (void*)win_func;
return &lin_SteamAPI_CheckCallbackRegistered_t;
}