mirror of
https://gitlab.com/Mr_Goldberg/goldberg_emulator.git
synced 2024-11-09 22:28:38 +01:00
Fix crash.
This commit is contained in:
parent
7163daa6c1
commit
c22b3cd3d3
1 changed files with 2 additions and 0 deletions
|
@ -173,6 +173,8 @@ void Steam_Apps::RequestAppProofOfPurchaseKey( AppId_t nAppID )
|
||||||
bool Steam_Apps::GetCurrentBetaName( char *pchName, int cchNameBufferSize )
|
bool Steam_Apps::GetCurrentBetaName( char *pchName, int cchNameBufferSize )
|
||||||
{
|
{
|
||||||
PRINT_DEBUG("GetCurrentBetaName %i\n", cchNameBufferSize);
|
PRINT_DEBUG("GetCurrentBetaName %i\n", cchNameBufferSize);
|
||||||
|
if (!pchName) return false;
|
||||||
|
|
||||||
if (sizeof("public") > cchNameBufferSize) {
|
if (sizeof("public") > cchNameBufferSize) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue