Fix error checking of cellGameContentPermit

This commit is contained in:
Eladash 2019-12-01 07:30:46 +02:00 committed by Ivan
parent 1a6e8e20dc
commit d45fbc331c

View File

@ -470,7 +470,7 @@ error_code cellGameContentPermit(vm::ptr<char[CELL_GAME_PATH_MAX]> contentInfoPa
{
cellGame.warning("cellGameContentPermit(contentInfoPath=*0x%x, usrdirPath=*0x%x)", contentInfoPath, usrdirPath);
if (!contentInfoPath && !usrdirPath)
if (!contentInfoPath || !usrdirPath)
{
return CELL_GAME_ERROR_PARAM;
}