From 65521debe6bd5900f54a37a64f37a52286999425 Mon Sep 17 00:00:00 2001 From: Detanup01 <91248446+Detanup01@users.noreply.github.com> Date: Fri, 14 Jun 2024 17:12:19 +0200 Subject: [PATCH] fix those requests --- dll/dll/steam_video.h | 4 ++-- dll/steam_client_interface_getter.cpp | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/dll/dll/steam_video.h b/dll/dll/steam_video.h index 39785a8e..6c5dcb4c 100644 --- a/dll/dll/steam_video.h +++ b/dll/dll/steam_video.h @@ -21,8 +21,8 @@ #include "base.h" class Steam_Video : -public ISteamVideo, -public ISteamVideo001 +public ISteamVideo001, +public ISteamVideo { public: diff --git a/dll/steam_client_interface_getter.cpp b/dll/steam_client_interface_getter.cpp index 1190e286..7d8190dd 100644 --- a/dll/steam_client_interface_getter.cpp +++ b/dll/steam_client_interface_getter.cpp @@ -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(static_cast(steam_video)); } else if (strcmp(pchVersion, STEAMVIDEO_INTERFACE_VERSION) == 0) {