mirror of
https://github.com/suyu-emu/Yucom.git
synced 2026-09-21 13:22:43 -07:00
lsteamclient: Sync environment only once
This commit is contained in:
@@ -452,11 +452,11 @@ static int load_steamclient(void)
|
||||
{
|
||||
char path[PATH_MAX], resolved_path[PATH_MAX];
|
||||
|
||||
sync_environment();
|
||||
|
||||
if(steamclient_lib)
|
||||
return 1;
|
||||
|
||||
sync_environment();
|
||||
|
||||
#ifdef __APPLE__
|
||||
if(getenv("STEAM_COMPAT_CLIENT_INSTALL_PATH")){
|
||||
snprintf(path, PATH_MAX, "%s/steamclient.dylib", getenv("STEAM_COMPAT_CLIENT_INSTALL_PATH"));
|
||||
|
||||
Reference in New Issue
Block a user