Fix cellGameBootCheck for disc games (#3771)

Don't return dirName
This commit is contained in:
Ofek 2017-11-23 14:27:44 +02:00 committed by Ivan
parent 58c42ad9c0
commit 3628a8593f

View file

@ -255,7 +255,7 @@ error_code cellGameBootCheck(vm::ptr<u32> type, vm::ptr<u32> attributes, vm::ptr
{
*type = CELL_GAME_GAMETYPE_DISC;
*attributes = 0; // TODO
if (dirName) strcpy_trunc(*dirName, ""); // ???
// TODO: dirName might be a read only string when BootCheck is called on a disc game. (e.g. Ben 10 Ultimate Alien: Cosmic Destruction)
if (!fxm::make<content_permission>("", std::move(sfo)))
{