fix those requests

This commit is contained in:
Detanup01 2024-06-14 17:12:19 +02:00 committed by otavepto
parent 4390cc1616
commit 65521debe6
2 changed files with 3 additions and 3 deletions

View File

@ -21,8 +21,8 @@
#include "base.h"
class Steam_Video :
public ISteamVideo,
public ISteamVideo001
public ISteamVideo001,
public ISteamVideo
{
public:

View File

@ -782,7 +782,7 @@ ISteamVideo *Steam_Client::GetISteamVideo( HSteamUser hSteamuser, HSteamPipe hSt
PRINT_DEBUG("%s", pchVersion);
if (!steam_pipes.count(hSteamPipe) || !hSteamuser) return NULL;
if (strcmp(pchVersion, "STEAMVIDEO_INTERFACE_V00") == 0) {
if (strcmp(pchVersion, "STEAMVIDEO_INTERFACE_V001") == 0) {
return reinterpret_cast<ISteamVideo *>(static_cast<ISteamVideo001 *>(steam_video));
}
else if (strcmp(pchVersion, STEAMVIDEO_INTERFACE_VERSION) == 0) {