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:
Mr_Goldberg
2020-01-19 12:55:14 -05:00
parent ffdaf72597
commit db2a803cf7
42 changed files with 857 additions and 1107 deletions

View File

@ -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;
}