mirror of
https://gitlab.com/Mr_Goldberg/goldberg_emulator
synced 2025-07-07 15:04:28 +08:00
A few improvements to the overlay merge request.
NO_OVERLAY define becomes EMU_OVERLAY which enables the overlay instead of disabling it. disable_overlay.txt moved to steam_settings.
This commit is contained in:
@ -221,14 +221,9 @@ STEAMAPI_API bool S_CALLTYPE SteamAPI_Init()
|
||||
crack_SteamAPI_Init();
|
||||
#endif
|
||||
load_old_interface_versions();
|
||||
user_steam_pipe = get_steam_client()->CreateSteamPipe();
|
||||
get_steam_client()->ConnectToGlobalUser(user_steam_pipe);
|
||||
|
||||
Steam_Client* client = get_steam_client();
|
||||
#ifndef NO_OVERLAY
|
||||
if( client->enable_overlay )
|
||||
client->steam_overlay->SetupOverlay();
|
||||
#endif
|
||||
user_steam_pipe = client->CreateSteamPipe();
|
||||
client->ConnectToGlobalUser(user_steam_pipe);
|
||||
return true;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user