Fix error checking of cellGameContentPermit

This commit is contained in:
Eladash authored and Ivan committed 2019-12-01 21:11:43 +03:00
1 parent 1a6e8e20dc
commit d45fbc331c
1 file changed
+1 -1
+1 -1
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;
}