lsteamclient: Return NULL from manual_convert_SteamAPI_CheckCallbackRegistered_t() if win_func is NULL.
CW-Bug-Id: #21313
This commit is contained in:
parent
be25891a0c
commit
30c6b5c41e
1 changed files with 3 additions and 1 deletions
|
@ -348,6 +348,8 @@ static uint32 lin_SteamAPI_CheckCallbackRegistered_t(int cb)
|
|||
|
||||
void *manual_convert_SteamAPI_CheckCallbackRegistered_t(void *win_func)
|
||||
{
|
||||
stored_SteamAPI_CheckCallbackRegistered_t = (void*)win_func;
|
||||
if (!(stored_SteamAPI_CheckCallbackRegistered_t = (void*)win_func))
|
||||
return NULL;
|
||||
|
||||
return &lin_SteamAPI_CheckCallbackRegistered_t;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue