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

This commit is contained in:
Mr_Goldberg 2022-01-02 03:00:29 -05:00
parent 978a1b81e3
commit 8383f16be7
No known key found for this signature in database
GPG key ID: 8597D87419DEF278

View file

@ -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 )