Add GameData support to Steam Shutdown func.

This commit is contained in:
KyleSanderson
2014-01-29 02:28:41 -07:00
parent a39fdfc731
commit 2d85e824b0
+5 -1
View File
@@ -53,7 +53,11 @@ SteamWorksGSDetours::SteamWorksGSDetours()
if (pLibrary != NULL)
{
const char *pFunctionName = "SteamGameServer_Shutdown";
pAddress = pLibrary->GetSymbolAddress(pFunctionName);
if (pConfig == NULL || pConfig->GetMemSig(pFunctionName, &pAddress) == false)
{
pAddress = pLibrary->GetSymbolAddress(pFunctionName);
}
pLibrary->CloseLibrary();
}