mirror of
https://github.com/ValveSoftware/Proton.git
synced 2025-02-04 01:30:36 +03:00
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
@ -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…
x
Reference in New Issue
Block a user