Use the same steam pipe/user numbers that the real steam dll uses because some games actually depend on it.

This commit is contained in:
Mr_Goldberg 2020-02-01 13:46:05 -05:00
parent 05e6c103f8
commit 03839a7de6
No known key found for this signature in database
GPG key ID: 8597D87419DEF278
2 changed files with 3 additions and 3 deletions

View file

@ -1,6 +1,6 @@
//TODO: put these in a common .h //TODO: put these in a common .h
#define CLIENT_HSTEAMUSER 12 #define CLIENT_HSTEAMUSER 1
#define SERVER_HSTEAMUSER 13 #define SERVER_HSTEAMUSER 1
#define DEFAULT_NAME "Goldberg" #define DEFAULT_NAME "Goldberg"
#define PROGRAM_NAME "Goldberg SteamEmu" #define PROGRAM_NAME "Goldberg SteamEmu"

View file

@ -136,7 +136,7 @@ public:
std::thread background_keepalive; std::thread background_keepalive;
bool steamclient_server_inited = false; bool steamclient_server_inited = false;
unsigned steam_pipe_counter = 2; unsigned steam_pipe_counter = 1;
std::map<HSteamPipe, enum Steam_Pipe> steam_pipes; std::map<HSteamPipe, enum Steam_Pipe> steam_pipes;
Steam_Client(); Steam_Client();