mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-04-22 12:35:21 +00:00
Check contentInfoPath && usrdirPath is not null for cellGameContentPermit
This commit is contained in:
parent
598d929aba
commit
06f3df0ff4
1 changed files with 6 additions and 0 deletions
|
@ -180,6 +180,12 @@ int cellGameContentPermit(vm::ptr<char[CELL_GAME_PATH_MAX]> contentInfoPath, vm:
|
|||
{
|
||||
cellGame->Warning("cellGameContentPermit(contentInfoPath_addr=0x%x, usrdirPath_addr=0x%x)",
|
||||
contentInfoPath.addr(), usrdirPath.addr());
|
||||
|
||||
if (!contentInfoPath && !usrdirPath)
|
||||
{
|
||||
cellGame->Warning("cellGameContentPermit(): CELL_GAME_ERROR_PARAM");
|
||||
return CELL_GAME_ERROR_PARAM;
|
||||
}
|
||||
|
||||
if (contentInfo == "" && usrdir == "")
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue