mirror of
https://gitlab.com/Mr_Goldberg/goldberg_emulator.git
synced 2025-12-05 11:44:53 +01:00
Merge branch 'master' into overlay_h
This commit is contained in:
commit
f30b0c9fb2
8 changed files with 101 additions and 10 deletions
|
|
@ -135,6 +135,7 @@ Steam_Client *get_steam_clientserver_old()
|
|||
S_API void * S_CALLTYPE SteamInternal_CreateInterface( const char *ver )
|
||||
{
|
||||
PRINT_DEBUG("SteamInternal_CreateInterface %s\n", ver);
|
||||
if (!get_steam_client()->user_logged_in) return NULL;
|
||||
|
||||
if (strstr(ver, "SteamClient") == ver) {
|
||||
void *steam_client;
|
||||
|
|
@ -221,6 +222,7 @@ S_API bool S_CALLTYPE SteamAPI_InitAnonymousUser()
|
|||
S_API void S_CALLTYPE SteamAPI_Shutdown()
|
||||
{
|
||||
PRINT_DEBUG("SteamAPI_Shutdown\n");
|
||||
get_steam_client()->clientShutdown();
|
||||
}
|
||||
|
||||
// SteamAPI_RestartAppIfNecessary ensures that your executable was launched through Steam.
|
||||
|
|
@ -590,7 +592,7 @@ S_API uint64 SteamGameServer_GetSteamID()
|
|||
S_API ISteamClient *SteamGameServerClient() {
|
||||
PRINT_DEBUG("SteamGameServerClient()\n");
|
||||
load_old_interface_versions();
|
||||
get_steam_clientserver_old();
|
||||
if (!get_steam_clientserver_old()->IsServerInit()) return NULL;
|
||||
return (ISteamClient *)SteamInternal_CreateInterface(old_client);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue