diff --git a/lsteamclient/steamclient_main.c b/lsteamclient/steamclient_main.c index a84c6470..4e29b10b 100644 --- a/lsteamclient/steamclient_main.c +++ b/lsteamclient/steamclient_main.c @@ -618,9 +618,8 @@ void CDECL Steam_NotifyMissingInterface( int32_t hSteamPipe, const char *pchVers STEAMCLIENT_CALL( steamclient_Steam_NotifyMissingInterface, ¶ms ); } -BOOL CDECL steamclient_init_registry(void) +void steamclient_init_registry(void) { load_steamclient(); - if (STEAMCLIENT_CALL( steamclient_init_registry, NULL )) return FALSE; - return TRUE; + STEAMCLIENT_CALL( steamclient_init_registry, NULL ); } diff --git a/lsteamclient/unixlib.cpp b/lsteamclient/unixlib.cpp index fe640d9b..40f4a9a7 100644 --- a/lsteamclient/unixlib.cpp +++ b/lsteamclient/unixlib.cpp @@ -685,7 +685,7 @@ static NTSTATUS steamclient_init_registry( Params *params, bool wow64 ) { ERR( "Failed to connect to Steam\n" ); if (pipe) client->BReleaseSteamPipe( pipe ); - return -1; + return 0; } setup_steam_registry( client, pipe, user );