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
|
|
@ -43,6 +43,11 @@ class Settings {
|
|||
std::vector<struct DLC_entry> DLCs;
|
||||
std::vector<struct Mod_entry> mods;
|
||||
public:
|
||||
#ifdef LOBBY_CONNECT
|
||||
static const bool is_lobby_connect = true;
|
||||
#else
|
||||
static const bool is_lobby_connect = false;
|
||||
#endif
|
||||
static std::string sanitize(std::string name);
|
||||
Settings(CSteamID steam_id, CGameID game_id, std::string name, std::string language);
|
||||
CSteamID get_local_steam_id();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue