mirror of
https://github.com/alex47exe/gse_fork.git
synced 2026-02-04 05:41:18 +01:00
return null instead of actual interface get
This commit is contained in:
@@ -325,11 +325,12 @@ static void *create_client_interface(const char *ver)
|
||||
return static_cast<ISteamClient *>(client_ptr);
|
||||
}
|
||||
|
||||
client_ptr->report_missing_impl_and_exit(ver, EMU_FUNC_NAME);
|
||||
// report the missing interface if it is a client
|
||||
client_ptr->report_missing_impl(ver, EMU_FUNC_NAME);
|
||||
}
|
||||
|
||||
// Assuming old games (1110100) and old version of Facepunch.Steamworks call this first then it will throw because this is not here.
|
||||
return get_steam_client()->GetISteamGenericInterface(SteamAPI_GetHSteamUser(), SteamAPI_GetHSteamPipe(), ver);
|
||||
// Original steam returns 0 here.
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
STEAMAPI_API void * S_CALLTYPE SteamInternal_CreateInterface( const char *ver )
|
||||
|
||||
Reference in New Issue
Block a user