mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-01-30 21:32:50 +00:00
Fix cellGameDataCheck's game data creation with PARAM.SFO set/get
This commit is contained in:
parent
01db83bc36
commit
5c3d417b35
@ -483,13 +483,14 @@ error_code cellGameDataCheck(u32 type, vm::cptr<char> dirName, vm::ptr<CellGameC
|
|||||||
perm->can_create = true;
|
perm->can_create = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
perm->restrict_sfo_params = false;
|
||||||
|
|
||||||
if (!fs::is_dir(vfs::get(dir)))
|
if (!fs::is_dir(vfs::get(dir)))
|
||||||
{
|
{
|
||||||
cellGame.warning("cellGameDataCheck(): directory '%s' not found", dir);
|
cellGame.warning("cellGameDataCheck(): directory '%s' not found", dir);
|
||||||
return not_an_error(CELL_GAME_RET_NONE);
|
return not_an_error(CELL_GAME_RET_NONE);
|
||||||
}
|
}
|
||||||
|
|
||||||
perm->restrict_sfo_params = false;
|
|
||||||
perm->sfo = psf::load_object(fs::file(vfs::get(dir + "/PARAM.SFO")));
|
perm->sfo = psf::load_object(fs::file(vfs::get(dir + "/PARAM.SFO")));
|
||||||
return CELL_OK;
|
return CELL_OK;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user