mirror of
https://github.com/Detanup01/gbe_fork.git
synced 2024-11-30 14:25:36 +08:00
Fix crash.
This commit is contained in:
parent
7163daa6c1
commit
c22b3cd3d3
@ -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 New Issue
Block a user