mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-04 22:11:26 +12: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
1 changed files with 6 additions and 0 deletions
|
@ -398,6 +398,12 @@ error_code cellGameContentPermit(vm::ptr<char[CELL_GAME_PATH_MAX]> contentInfoPa
|
||||||
return CELL_GAME_ERROR_FAILURE;
|
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;
|
const std::string dir = prm->dir.empty() ? "/dev_bdvd/PS3_GAME"s : "/dev_hdd0/game/" + prm->dir;
|
||||||
|
|
||||||
if (!prm->temp.empty())
|
if (!prm->temp.empty())
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue