mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-14 02:38:37 +12:00
cellGameDataCheckCreate(2): Check dirName
This commit is contained in:
parent
0c757222cb
commit
4d7e53d7a0
1 changed files with 1 additions and 1 deletions
|
@ -533,7 +533,7 @@ error_code cellGameDataCheckCreate2(ppu_thread& ppu, u32 version, vm::cptr<char>
|
||||||
|
|
||||||
//older sdk. it might not care about game type.
|
//older sdk. it might not care about game type.
|
||||||
|
|
||||||
if (version != CELL_GAMEDATA_VERSION_CURRENT || errDialog > 1)
|
if (version != CELL_GAMEDATA_VERSION_CURRENT || errDialog > 1 || !funcStat || sysutil_check_name_string(dirName.get_ptr(), 1, CELL_GAME_DIRNAME_SIZE) != 0)
|
||||||
{
|
{
|
||||||
return CELL_GAMEDATA_ERROR_PARAM;
|
return CELL_GAMEDATA_ERROR_PARAM;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue