fixed compat with reunion2015 version
Some checks failed
C/C++ CI / Publish (push) Has been cancelled
C/C++ CI / Windows (push) Has been cancelled
C/C++ CI / Linux (push) Has been cancelled

authdata->steamId should be always hash of full ticket
This commit is contained in:
s1lentq 2025-04-13 00:54:58 +07:00
parent 58e894ef25
commit 95d3e935d8

View File

@ -96,7 +96,7 @@ void RevEmuFinishAuthorization(authdata_t* authdata, const char* authStr, size_t
memcpy(authdata->authKey, authStr, authdata->authKeyLen);
authdata->authKey[authdata->authKeyLen] = '\0';
authdata->steamId = revHash(authdata->authKey, Reunion_AuthKeyMaxLen(authdata)) << 1;
authdata->steamId = revHash(authdata->authKey) << 1;
if (authStr == (char *)&volumeId)
LCPrintf(false, "RevEmu auth key: '%u' steamid: %u\n", (uint32_t)authStr, authdata->steamId);