From 8383f16be7c982498487d508bc9620f88c414a08 Mon Sep 17 00:00:00 2001 From: Mr_Goldberg Date: Sun, 2 Jan 2022 03:00:29 -0500 Subject: [PATCH] Fix crash in some games that use the old flat api. --- dll/flat.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/dll/flat.cpp b/dll/flat.cpp index 9007c71..c95c86f 100644 --- a/dll/flat.cpp +++ b/dll/flat.cpp @@ -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 )