Fix crash in some games that use the old flat api.

merge-requests/48/head
Mr_Goldberg 2 years ago
parent 978a1b81e3
commit 8383f16be7
No known key found for this signature in database
GPG Key ID: 8597D87419DEF278

@ -2990,7 +2990,8 @@ STEAMAPI_API ISteamInput *SteamAPI_SteamInput_v005()
STEAMAPI_API bool SteamAPI_ISteamInput_Init( ISteamInput* self, bool bExplicitlyCallRunFrame )
{
return self->Init(bExplicitlyCallRunFrame);
//TODO: do something with bExplicitlyCallRunFrame
return (get_steam_client()->steam_controller)->Init();
}
STEAMAPI_API bool SteamAPI_ISteamInput_Shutdown( ISteamInput* self )

Loading…
Cancel
Save