cellGameContentPermit: Don't set content and usrdir path on gamedata if cellGameCreateGameData was never called
This commit is contained in:
@@ -398,6 +398,12 @@ error_code cellGameContentPermit(vm::ptr<char[CELL_GAME_PATH_MAX]> contentInfoPa
|
||||
return CELL_GAME_ERROR_FAILURE;
|
||||
}
|
||||
|
||||
if (prm->can_create && prm->temp.empty())
|
||||
{
|
||||
verify(HERE), fxm::remove<content_permission>();
|
||||
return CELL_OK;
|
||||
}
|
||||
|
||||
const std::string dir = prm->dir.empty() ? "/dev_bdvd/PS3_GAME"s : "/dev_hdd0/game/" + prm->dir;
|
||||
|
||||
if (!prm->temp.empty())
|
||||
|
||||
Reference in New Issue
Block a user