mirror of
https://github.com/Detanup01/gbe_fork.git
synced 2024-10-22 20:48:17 +08:00
fix those requests
This commit is contained in:
parent
4390cc1616
commit
65521debe6
@ -21,8 +21,8 @@
|
|||||||
#include "base.h"
|
#include "base.h"
|
||||||
|
|
||||||
class Steam_Video :
|
class Steam_Video :
|
||||||
public ISteamVideo,
|
public ISteamVideo001,
|
||||||
public ISteamVideo001
|
public ISteamVideo
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
|
|
||||||
|
@ -782,7 +782,7 @@ ISteamVideo *Steam_Client::GetISteamVideo( HSteamUser hSteamuser, HSteamPipe hSt
|
|||||||
PRINT_DEBUG("%s", pchVersion);
|
PRINT_DEBUG("%s", pchVersion);
|
||||||
if (!steam_pipes.count(hSteamPipe) || !hSteamuser) return NULL;
|
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));
|
return reinterpret_cast<ISteamVideo *>(static_cast<ISteamVideo001 *>(steam_video));
|
||||||
}
|
}
|
||||||
else if (strcmp(pchVersion, STEAMVIDEO_INTERFACE_VERSION) == 0) {
|
else if (strcmp(pchVersion, STEAMVIDEO_INTERFACE_VERSION) == 0) {
|
||||||
|
Loading…
Reference in New Issue
Block a user