Add GameData support to Steam Shutdown func.
This commit is contained in:
@@ -53,7 +53,11 @@ SteamWorksGSDetours::SteamWorksGSDetours()
|
|||||||
if (pLibrary != NULL)
|
if (pLibrary != NULL)
|
||||||
{
|
{
|
||||||
const char *pFunctionName = "SteamGameServer_Shutdown";
|
const char *pFunctionName = "SteamGameServer_Shutdown";
|
||||||
pAddress = pLibrary->GetSymbolAddress(pFunctionName);
|
if (pConfig == NULL || pConfig->GetMemSig(pFunctionName, &pAddress) == false)
|
||||||
|
{
|
||||||
|
pAddress = pLibrary->GetSymbolAddress(pFunctionName);
|
||||||
|
}
|
||||||
|
|
||||||
pLibrary->CloseLibrary();
|
pLibrary->CloseLibrary();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user