mirror of
https://github.com/Detanup01/gbe_fork.git
synced 2024-12-26 10:24:14 +08:00
Fix crash in some games that use the old flat api.
This commit is contained in:
parent
978a1b81e3
commit
8383f16be7
@ -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…
x
Reference in New Issue
Block a user