mirror of
https://gitlab.com/Mr_Goldberg/goldberg_emulator.git
synced 2025-12-05 11:44:53 +01:00
Make lobby_connect work on Linux.
Fix a bug with it not finding rich presence. Code is all open source now so no need to ship the lobby connect source in the release.
This commit is contained in:
parent
52cad2114d
commit
fb7c8ea35b
6 changed files with 39 additions and 19 deletions
|
|
@ -75,10 +75,10 @@ void rich_presence_updated(CSteamID id, AppId_t appid)
|
|||
callbacks->addCBResult(data.k_iCallback, &data, sizeof(data));
|
||||
}
|
||||
|
||||
bool isSameAppId(Friend *f)
|
||||
bool isAppIdCompatible(Friend *f)
|
||||
{
|
||||
//in my emu 0 appid is the same as any appid, it's useful for things like my lobby connect program
|
||||
if (!settings->get_local_game_id().AppID()) return true;
|
||||
if (settings->is_lobby_connect) return true;
|
||||
if (f == &us) return true;
|
||||
return settings->get_local_game_id().AppID() == f->appid();
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue