mirror of
https://gitlab.com/Mr_Goldberg/goldberg_emulator.git
synced 2024-11-14 10:50:13 +01:00
Fix crash in some games that use the old flat api.
This commit is contained in:
parent
978a1b81e3
commit
8383f16be7
1 changed files with 2 additions and 1 deletions
|
@ -2990,7 +2990,8 @@ STEAMAPI_API ISteamInput *SteamAPI_SteamInput_v005()
|
||||||
|
|
||||||
STEAMAPI_API bool SteamAPI_ISteamInput_Init( ISteamInput* self, bool bExplicitlyCallRunFrame )
|
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 )
|
STEAMAPI_API bool SteamAPI_ISteamInput_Shutdown( ISteamInput* self )
|
||||||
|
|
Loading…
Reference in a new issue