mirror of
https://github.com/Detanup01/gbe_fork.git
synced 2025-08-22 23:33:47 +02: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…
Add table
Reference in a new issue