mirror of
https://github.com/Detanup01/gbe_fork.git
synced 2024-11-27 13:14:01 +08:00
Fix Replace
This commit is contained in:
parent
051db907e3
commit
e221d8e1d2
@ -62,13 +62,13 @@ static bool try_load_steam_interfaces(std::string interfaces_path)
|
|||||||
line.erase(std::remove(line.begin(), line.end(), '\t'), line.end());
|
line.erase(std::remove(line.begin(), line.end(), '\t'), line.end());
|
||||||
#define REPLACE_WITH_FILE(s, f) {if (line.find(s) != std::string::npos) {strncpy(f, line.c_str(), sizeof(f) - 1); continue;}}
|
#define REPLACE_WITH_FILE(s, f) {if (line.find(s) != std::string::npos) {strncpy(f, line.c_str(), sizeof(f) - 1); continue;}}
|
||||||
REPLACE_WITH_FILE("SteamClient", old_client);
|
REPLACE_WITH_FILE("SteamClient", old_client);
|
||||||
REPLACE_WITH_FILE("SteamGameServer", old_gameserver);
|
|
||||||
REPLACE_WITH_FILE("SteamGameServerStats", old_gameserver_stats);
|
REPLACE_WITH_FILE("SteamGameServerStats", old_gameserver_stats);
|
||||||
|
REPLACE_WITH_FILE("SteamGameServer", old_gameserver);
|
||||||
REPLACE_WITH_FILE("SteamUser", old_user);
|
REPLACE_WITH_FILE("SteamUser", old_user);
|
||||||
REPLACE_WITH_FILE("SteamFriends", old_friends);
|
REPLACE_WITH_FILE("SteamFriends", old_friends);
|
||||||
REPLACE_WITH_FILE("SteamUtils", old_utils);
|
REPLACE_WITH_FILE("SteamUtils", old_utils);
|
||||||
REPLACE_WITH_FILE("SteamMatchMaking", old_matchmaking);
|
|
||||||
REPLACE_WITH_FILE("SteamMatchMakingServers", old_matchmaking_servers);
|
REPLACE_WITH_FILE("SteamMatchMakingServers", old_matchmaking_servers);
|
||||||
|
REPLACE_WITH_FILE("SteamMatchMaking", old_matchmaking);
|
||||||
REPLACE_WITH_FILE("STEAMUSERSTATS_INTERFACE_VERSION", old_userstats);
|
REPLACE_WITH_FILE("STEAMUSERSTATS_INTERFACE_VERSION", old_userstats);
|
||||||
REPLACE_WITH_FILE("STEAMAPPS_INTERFACE_VERSION", old_apps);
|
REPLACE_WITH_FILE("STEAMAPPS_INTERFACE_VERSION", old_apps);
|
||||||
REPLACE_WITH_FILE("SteamNetworking", old_networking);
|
REPLACE_WITH_FILE("SteamNetworking", old_networking);
|
||||||
|
Loading…
Reference in New Issue
Block a user