minor missing implementation in CreateInterface()

This commit is contained in:
a 2024-08-09 16:39:41 +03:00
parent c0bc32849a
commit a450edfe28

View File

@ -1333,7 +1333,13 @@ STEAMCLIENT_API steam_bool Steam_GetAPICallResult( HSteamPipe hSteamPipe, SteamA
STEAMCLIENT_API void *CreateInterface( const char *pName, int *pReturnCode )
{
PRINT_DEBUG("%s %p", pName, pReturnCode);
return create_client_interface(pName);
auto ptr = create_client_interface(pName);
if (ptr) {
if (pReturnCode) *pReturnCode = 1;
} else {
if (pReturnCode) *pReturnCode = 0;
}
return ptr;
}
STEAMCLIENT_API void Breakpad_SteamMiniDumpInit( uint32 a, const char *b, const char *c )