mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-01-07 03:58:09 +00:00
cellGameContentPermit: Don't set content and usrdir path on gamedata if cellGameCreateGameData was never called
This commit is contained in:
parent
3dd45fc859
commit
88bfdb0c05
@ -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())
|
||||
|
Loading…
Reference in New Issue
Block a user