mirror of
https://github.com/Detanup01/gbe_fork.git
synced 2024-11-23 11:15:34 +08:00
proper handling for SteamNetworkingSockets007
This commit is contained in:
parent
e8d36b3353
commit
72f4b85924
@ -311,9 +311,8 @@ void *Steam_Client::GetISteamGenericInterface( HSteamUser hSteamUser, HSteamPipe
|
|||||||
return reinterpret_cast<void *>(static_cast<ISteamNetworkingSockets004 *>( steam_networking_sockets_temp));
|
return reinterpret_cast<void *>(static_cast<ISteamNetworkingSockets004 *>( steam_networking_sockets_temp));
|
||||||
} else if (strcmp(pchVersion, "SteamNetworkingSockets006") == 0) {
|
} else if (strcmp(pchVersion, "SteamNetworkingSockets006") == 0) {
|
||||||
return reinterpret_cast<void *>(static_cast<ISteamNetworkingSockets006 *>( steam_networking_sockets_temp));
|
return reinterpret_cast<void *>(static_cast<ISteamNetworkingSockets006 *>( steam_networking_sockets_temp));
|
||||||
|
} else if (strcmp(pchVersion, "SteamNetworkingSockets007") == 0) { // Not found in public Archive, real steamclient64.dll returns null
|
||||||
// SteamNetworkingSockets007 Not found in public Archive, must be between 1.47-1.48
|
return nullptr;
|
||||||
|
|
||||||
} else if (strcmp(pchVersion, "SteamNetworkingSockets008") == 0) {
|
} else if (strcmp(pchVersion, "SteamNetworkingSockets008") == 0) {
|
||||||
return reinterpret_cast<void *>(static_cast<ISteamNetworkingSockets008 *>( steam_networking_sockets_temp));
|
return reinterpret_cast<void *>(static_cast<ISteamNetworkingSockets008 *>( steam_networking_sockets_temp));
|
||||||
} else if (strcmp(pchVersion, "SteamNetworkingSockets009") == 0) {
|
} else if (strcmp(pchVersion, "SteamNetworkingSockets009") == 0) {
|
||||||
|
Loading…
Reference in New Issue
Block a user