mirror of
https://github.com/ValveSoftware/Proton.git
synced 2025-05-24 04:18:19 +03:00
lsteamclient: Don't return status from steamclient_init_registry().
It's not used for anything anyway. Trying to use unix call's return value just makes it hard to assert on actual errors like exceptions.
This commit is contained in:
parent
89c9625118
commit
ba22723f0c
@ -618,9 +618,8 @@ void CDECL Steam_NotifyMissingInterface( int32_t hSteamPipe, const char *pchVers
|
|||||||
STEAMCLIENT_CALL( steamclient_Steam_NotifyMissingInterface, ¶ms );
|
STEAMCLIENT_CALL( steamclient_Steam_NotifyMissingInterface, ¶ms );
|
||||||
}
|
}
|
||||||
|
|
||||||
BOOL CDECL steamclient_init_registry(void)
|
void steamclient_init_registry(void)
|
||||||
{
|
{
|
||||||
load_steamclient();
|
load_steamclient();
|
||||||
if (STEAMCLIENT_CALL( steamclient_init_registry, NULL )) return FALSE;
|
STEAMCLIENT_CALL( steamclient_init_registry, NULL );
|
||||||
return TRUE;
|
|
||||||
}
|
}
|
||||||
|
@ -685,7 +685,7 @@ static NTSTATUS steamclient_init_registry( Params *params, bool wow64 )
|
|||||||
{
|
{
|
||||||
ERR( "Failed to connect to Steam\n" );
|
ERR( "Failed to connect to Steam\n" );
|
||||||
if (pipe) client->BReleaseSteamPipe( pipe );
|
if (pipe) client->BReleaseSteamPipe( pipe );
|
||||||
return -1;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
setup_steam_registry( client, pipe, user );
|
setup_steam_registry( client, pipe, user );
|
||||||
|
Loading…
x
Reference in New Issue
Block a user