mirror of
https://github.com/Detanup01/gbe_fork.git
synced 2025-06-07 09:45:55 +02:00
add pdk interface maker in interface getter.
This commit is contained in:
parent
8ca74a6c6c
commit
3024ec7b2d
1 changed files with 16 additions and 0 deletions
|
@ -317,6 +317,11 @@ ISteamMatchmakingServers *Steam_Client::GetISteamMatchmakingServers( HSteamUser
|
||||||
report_missing_impl_and_exit(pchVersion, EMU_FUNC_NAME);
|
report_missing_impl_and_exit(pchVersion, EMU_FUNC_NAME);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
#ifdef EMU_EXPERIMENTAL_BUILD
|
||||||
|
#include "../pdk/pdk.h"
|
||||||
|
#endif
|
||||||
|
|
||||||
// returns the a generic interface
|
// returns the a generic interface
|
||||||
void *Steam_Client::GetISteamGenericInterface( HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char *pchVersion )
|
void *Steam_Client::GetISteamGenericInterface( HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char *pchVersion )
|
||||||
{
|
{
|
||||||
|
@ -335,6 +340,17 @@ void *Steam_Client::GetISteamGenericInterface( HSteamUser hSteamUser, HSteamPipe
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// !! PDK !!
|
||||||
|
#ifdef EMU_EXPERIMENTAL_BUILD
|
||||||
|
void* pdk_interface = PDK::MakeInterface(hSteamUser, hSteamPipe, pchVersion);
|
||||||
|
if (pdk_interface != NULL)
|
||||||
|
{
|
||||||
|
return pdk_interface;
|
||||||
|
}
|
||||||
|
#endif
|
||||||
|
// !! PDK !!
|
||||||
|
|
||||||
|
|
||||||
// !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
// !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
||||||
// NOTE: you must try to read the one with the most characters first
|
// NOTE: you must try to read the one with the most characters first
|
||||||
// !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
// !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
||||||
|
|
Loading…
Add table
Reference in a new issue