mirror of
https://github.com/Detanup01/gbe_fork.git
synced 2025-03-28 14:56:24 +01:00
minor missing implementation in CreateInterface()
This commit is contained in:
parent
c0bc32849a
commit
a450edfe28
1 changed files with 7 additions and 1 deletions
|
@ -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 )
|
||||
|
|
Loading…
Add table
Reference in a new issue